Sha256: 7bdb841383ee4888f757ec988c4bca7d43032a3aae8e0e43b0a7b139e2d54f0c

Contents?: true

Size: 881 Bytes

Versions: 1

Compression:

Stored size: 881 Bytes

Contents

<h1><%= @user.new_record? ? 'New' : 'Editing' %> User</h1>

<%= form_for([:admin, @user]) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br/>
    <%= f.text_field :name  %>
  </p>

  <p>
    <%= f.label :email %><br/>
    <%= f.text_field :email %>
  </p>

  <p>
    <%= f.label :password %><br/>
    <%= f.password_field :password, :onKeyUp => "updateStrength(this.value)"  %>
    <div id="password-meter"><strong>Strength</strong><div id = "psContainer"><div id = "psStrength"></div></div></div>
  </p>

  <p>
    <%= f.label :password_confirmation %><br/>
    <%= f.password_field :password_confirmation %>
  </p>

  <p>
    <%= f.label :groups %><br/>
    <%= f.text_field :groups %>
  </p>

  <p>
    <%= f.submit @user.new_record? ? 'Create' : 'Update', :disable_with => 'Submitting...' %> or <%= link_to 'Cancel', admin_users_path %>
  </p>
<% end %>


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noodall-devise-0.0.1 app/views/admin/users/show.html.erb