<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.label :password %>
<%= f.password_field :password, :onKeyUp => "updateStrength(this.value)" %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.label :group_list, "Groups" %>
<%= f.text_field :group_list %>
<%= f.submit @user.new_record? ? 'Create' : 'Update', :disable_with => 'Submitting...', :class => 'update' %> <%= link_to 'Cancel', admin_users_path, :class => 'cancel' %>
<% end %>