fix user form field order and autocompletion
This commit is contained in:
parent
df9cff0eee
commit
3e1d561a5e
3 changed files with 10 additions and 7 deletions
|
|
@ -6,7 +6,7 @@
|
|||
= h(t('.user.title', user: show_user))
|
||||
%small= t '.user.since', when: distance_of_time_in_words(Time.now, @current_user.created_on)
|
||||
= simple_form_for(@current_user, :url => update_profile_path) do |f|
|
||||
= render :partial => 'shared/user_form_fields', :locals => {:f => f}
|
||||
= render :partial => 'shared/user_form_fields', :locals => {:f => f, :password_autocomplete => false}
|
||||
.form-actions
|
||||
= submit_tag t('ui.save'), class: 'btn'
|
||||
.span5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue