diff options
Diffstat (limited to 'app/views/users/edit.html.erb')
| -rw-r--r-- | app/views/users/edit.html.erb | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 1881fbdb..5b732422 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb | |||
| @@ -1,2 +1,30 @@ | |||
| 1 | <h1>Users#edit</h1> | 1 | <h1>Edit existing user</h1> |
| 2 | <p>Find me in app/views/users/edit.html.erb</p> | 2 | |
| 3 | <% form_for @user do |f| %> | ||
| 4 | <table id="new_node"> | ||
| 5 | <tr> | ||
| 6 | <td class="description">Login</td> | ||
| 7 | <td><%= f.text_field :login %></td> | ||
| 8 | </tr> | ||
| 9 | <tr> | ||
| 10 | <td class="description">E-Mail</td> | ||
| 11 | <td><%= f.text_field :email %></td> | ||
| 12 | </tr> | ||
| 13 | <tr> | ||
| 14 | <td class="description">Password</td> | ||
| 15 | <td><%= f.text_field :password %></td> | ||
| 16 | </tr> | ||
| 17 | <tr> | ||
| 18 | <td class="description">Confirm</td> | ||
| 19 | <td><%= f.text_field :password_confirmation %></td> | ||
| 20 | </tr> | ||
| 21 | <tr> | ||
| 22 | <td class="description">Admin?</td> | ||
| 23 | <td><%= f.check_box :admin %></td> | ||
| 24 | </tr> | ||
| 25 | <tr> | ||
| 26 | <td class="description"></td> | ||
| 27 | <td class="right"><%= f.submit "Create" %></td> | ||
| 28 | </tr> | ||
| 29 | </table> | ||
| 30 | <% end %> \ No newline at end of file | ||
