Sha256: fbda5e085af9fa727c2b13fee73e55ae176d083e255cb97c7661df915b8274c1
Contents?: true
Size: 629 Bytes
Versions: 1
Compression:
Stored size: 629 Bytes
Contents
<%= f.label :first_name %><br /> <%= f.text_field :first_name %><br /> <%= f.label :last_name %><br /> <%= f.text_field :last_name %><br /> <%= f.label :email %><br /> <%= f.text_field :email %><br /> <br /> <%= f.label :password, f.object.new_record? ? nil : "Change password" %><br /> <%= f.password_field :password %><br /> <br /> <%= f.label :password_confirmation %><br /> <%= f.password_field :password_confirmation %><br /> <% %w(admin basic).each do | role | %> <input name="user[roles][]" type="checkbox" value="<%= role %>" <%= "checked='checked'" if @user.has_role? role %> /> <%= role.capitalize %><br> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qcore-1.2.0 | app/views/admin/users/_form.erb |