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

Version Path
muck-users-3.1.24 app/views/admin/users/edit.html.erb
muck-users-3.1.23 app/views/admin/users/edit.html.erb
muck-users-3.1.22 app/views/admin/users/edit.html.erb
muck-users-3.1.21 app/views/admin/users/edit.html.erb
muck-users-3.1.19 app/views/admin/users/edit.html.erb
muck-users-3.1.18 app/views/admin/users/edit.html.erb
muck-users-3.1.17 app/views/admin/users/edit.html.erb
muck-users-3.1.16 app/views/admin/users/edit.html.erb
muck-users-3.1.15 app/views/admin/users/edit.html.erb
muck-users-3.1.14 app/views/admin/users/edit.html.erb
muck-users-3.1.13 app/views/admin/users/edit.html.erb
muck-users-3.1.12 app/views/admin/users/edit.html.erb
muck-users-3.1.11 app/views/admin/users/edit.html.erb
muck-users-3.1.10 app/views/admin/users/edit.html.erb
muck-users-3.1.9 app/views/admin/users/edit.html.erb
muck-users-3.1.8 app/views/admin/users/edit.html.erb
muck-users-3.1.7 app/views/admin/users/edit.html.erb
muck-users-3.1.6 app/views/admin/users/edit.html.erb
muck-users-3.1.5 app/views/admin/users/edit.html.erb
muck-users-3.1.4 app/views/admin/users/edit.html.erb