Commit f4ddf1752e693c959864f39e0fd095e7bee108c1
1 parent
8842352b
Exists in
colab
and in
4 other branches
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.
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
app/views/devise/registrations/edit.html.erb
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | <div class="form-row"> | 9 | <div class="form-row"> |
| 10 | <div class="field-container"> | 10 | <div class="field-container"> |
| 11 | <%= f.label :name, class: 'control-label' %><br /> | 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 | </div> | 13 | </div> |
| 14 | <div class="help-container"> | 14 | <div class="help-container"> |
| 15 | <p> | 15 | <p> |
features/users/user_update.feature
| @@ -3,6 +3,7 @@ Feature: User update | @@ -3,6 +3,7 @@ Feature: User update | ||
| 3 | As a regular user | 3 | As a regular user |
| 4 | I want to have an edit page | 4 | I want to have an edit page |
| 5 | 5 | ||
| 6 | + @javascript | ||
| 6 | Scenario: with current password | 7 | Scenario: with current password |
| 7 | Given I am a regular user | 8 | Given I am a regular user |
| 8 | And I am signed in | 9 | And I am signed in |