Commit f4ddf1752e693c959864f39e0fd095e7bee108c1

Authored by Rafael Manzo
1 parent 8842352b

Fixes the user edition form

Probably it got broken after the translations and the acceptance test was
passing due to the dependency of javascript.

The acceptance test was fixed and the form has now the right field type.
app/views/devise/registrations/edit.html.erb
... ... @@ -9,7 +9,7 @@
9 9 <div class="form-row">
10 10 <div class="field-container">
11 11 <%= f.label :name, class: 'control-label' %><br />
12   - <%= f.email_field :name, :autofocus => true, class: 'text-field form-control' %>
  12 + <%= f.text_field :name, :autofocus => true, class: 'text-field form-control' %>
13 13 </div>
14 14 <div class="help-container">
15 15 <p>
... ...
features/users/user_update.feature
... ... @@ -3,6 +3,7 @@ Feature: User update
3 3 As a regular user
4 4 I want to have an edit page
5 5  
  6 + @javascript
6 7 Scenario: with current password
7 8 Given I am a regular user
8 9 And I am signed in
... ...