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 | 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> | ... | ... |