fix user form field order and autocompletion

This commit is contained in:
wvengen 2013-12-22 13:28:33 +01:00
parent df9cff0eee
commit 3e1d561a5e
3 changed files with 10 additions and 7 deletions

View file

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