|
<%= text_field "user", "name", :class => 'textbox', :maxlength => 100 %> |
Required. |
|
<%= text_field "user", "email", :class => 'textbox', :maxlength => 255 %> |
Optional. Please use a valid e-mail address. |
|
<%= text_field "user", "login", :class => 'textbox', :maxlength => 40 %> |
At least 3 characters. Must be unique. |
|
<%= password_field "user", "password", :class => 'textbox', :value => '', :maxlength => 40 %> |
At least 5 characters. <% unless @user.new_record? %>Leave password blank for it to remain unchanged.<% end %> |
|
<%= password_field "user", "password_confirmation", :class => 'textbox', :value => '', :maxlength => 40 %> |
|
<%= check_box "user", "admin" %> Administrator
<%= check_box "user", "developer" %> Developer
|
Roles restrict user privileges and turn parts of the administrative interface on or off. |
<%= updated_stamp @user %>
<%= save_model_button(@user) %> <%= save_model_and_continue_editing_button(@user) %> or <%= link_to "Cancel", user_index_url %>