Changeset 788
- Timestamp:
- 04/02/08 15:49:13 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/extensions/shards/app/views/admin/user/_edit_form.html.erb
r787 r788 8 8 <% form.edit_name do %> 9 9 <tr> 10 <t d class="label"><label for="user_name">Name</label></td>10 <th class="label"><label for="user_name">Name</label></th> 11 11 <td class="field"><%= text_field "user", "name", :class => 'textbox', :maxlength => 100 %></td> 12 12 <td class="help">Required.</td> … … 15 15 <% form.edit_email do %> 16 16 <tr> 17 <t d class="label"><label class="optional" for="user_email">E-mail</label></td>17 <th class="label"><label class="optional" for="user_email">E-mail</label></th> 18 18 <td class="field"><%= text_field "user", "email", :class => 'textbox', :maxlength => 255 %></td> 19 19 <td class="help">Optional. Please use a valid e-mail address.</td> … … 22 22 <% form.edit_login do %> 23 23 <tr> 24 <t d class="label"><label for="user_login">Username</label></td>24 <th class="label"><label for="user_login">Username</label></th> 25 25 <td class="field"><%= text_field "user", "login", :class => 'textbox', :maxlength => 40 %></td> 26 26 <td class="help">At least 3 characters. Must be unique.</td> … … 29 29 <% form.edit_password do %> 30 30 <tr> 31 <t d class="label"><label for="user_password">Password</label></td>31 <th class="label"><label for="user_password">Password</label></th> 32 32 <td class="field"><%= password_field "user", "password", :class => 'textbox', :value => '', :maxlength => 40 %></td> 33 33 <td class="help" rowspan="2">At least 5 characters. <% unless @user.new_record? %>Leave password blank for it to remain unchanged.<% end %></td> … … 36 36 <% form.edit_password_confirmation do %> 37 37 <tr> 38 <t d class="label"><label for="user_password_confirmation">Confirm Password</label></td>38 <th class="label"><label for="user_password_confirmation">Confirm Password</label></th> 39 39 <td class="field"><%= password_field "user", "password_confirmation", :class => 'textbox', :value => '', :maxlength => 40 %></td> 40 40 </tr> … … 42 42 <% form.edit_roles do %> 43 43 <tr> 44 <t d class="label"><label for="user_admin">Roles</label></td>44 <th class="label"><label for="user_admin">Roles</label></th> 45 45 <td class="field"> 46 46 <span class="checkbox"><%= check_box "user", "admin" %> <label for="user_admin">Administrator</label></span> … … 52 52 <% form.edit_notes do %> 53 53 <tr> 54 <t d class="label"><label class="optional" for="user_notes">Notes</label></td>54 <th class="label"><label class="optional" for="user_notes">Notes</label></th> 55 55 <td class="field"><%= text_area "user", "notes", :size => '40x4' %></td> 56 56 <td class="help">Optional.</td>
