Sha256: 84183d2e13eef768320d73c7e2496ab7629e3f18ee52f83a2e59469b40c615ad
Contents?: true
Size: 1.21 KB
Versions: 29
Compression:
Stored size: 1.21 KB
Contents
<div id="edit-user" class="common-form"> <%= muck_form_for @user, :url => admin_user_path(@user), :html => {:id => "edit-user-form", :name => 'edit-user-form', :class => 'ajax', :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') } -%> <%= 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') } -%> <%= f.password_field :password_confirmation, { :label => t('muck.users.confirm_password') } -%> <div class="button form-row"> <%= submit_tag t('muck.users.change_password'), :class => 'button' %> </div> <% end -%> </div>
Version data entries
29 entries across 29 versions & 1 rubygems