Sha256: aff0059168ea4933da32a3c3cdabb77e4fbae282adec65118e96dd165bc68bce
Contents?: true
Size: 1.48 KB
Versions: 33
Compression:
Stored size: 1.48 KB
Contents
<div id="edit-user" class="common-form"> <h1><%= t('muck.users.update_user_admin') %></h1> <%= muck_form_for @user, :url => admin_user_path(@user), :html => {:id => "edit-user-form", :name => 'edit-user-form', :method => :put, :multipart => true } do |f| -%> <%= output_errors(t('muck.users.problem_editing_account'), {:class => 'help-box'}, @user) %> <%= f.text_field :email, { :label => t('muck.users.email_address'), :tip => t('muck.users.email_help') } -%> <%= f.text_field :first_name, { :label => t('muck.users.first_name') } %> <%= f.text_field :last_name, { :label => t('muck.users.last_name') } %> <div class="button form-row"> <%= f.submit t('muck.general.save') %> </div> <% end %> </div> <div id="change-password" class="common-form"> <h2><%= t('muck.users.change_password') %></h2> <%= muck_form_for @user, :url => admin_user_path(@user), :html => { :id => "change-password-form", :name => 'change-password-form', :method => :put } do |f| %> <%= f.password_field :password, { :label => t('muck.users.password'), :tip => t('muck.users.password_help')} -%> <%= f.password_field :password_confirmation, { :label => t('muck.users.confirm_password'), :tip => t('muck.users.password_confirmation_help') } -%> <div class="button form-row"> <%= submit_tag t('muck.users.change_password'), :class => 'button' %> </div> <% end -%> </div>
Version data entries
33 entries across 33 versions & 1 rubygems