Description:
update user edit, add field remark
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r479:4fed4beab7f7 - - 3 files changed: 14 inserted, 9 deleted
@@ -0,0 +1,11 | |||
|
1 | + %h1 Editing user | |
|
2 | + | |
|
3 | + = form_tag :action => 'update', :id => @user do | |
|
4 | + = error_messages_for 'user' | |
|
5 | + = render partial: "form" | |
|
6 | + = submit_tag "Edit" | |
|
7 | + | |
|
8 | + | |
|
9 | + = link_to 'Show', :action => 'show', :id => @user | |
|
10 | + | | |
|
11 | + = link_to 'Back', :action => 'list' |
@@ -9,14 +9,17 | |||
|
9 | 9 | |
|
10 | 10 | <p><label for="password">Password</label><br/> |
|
11 | 11 | <%= password_field 'user', 'password' %></p> |
|
12 | 12 | |
|
13 | 13 | <p><label for="password_confirmation">Password (confirm)</label><br/> |
|
14 | 14 | <%= password_field 'user', 'password_confirmation' %></p> |
|
15 | 15 | |
|
16 | 16 | <p><label for="user_email">E-mail</label><br/> |
|
17 | 17 | <%= text_field 'user', 'email' %></p> |
|
18 | 18 | |
|
19 | 19 | <p><label for="user_alias">Alias</label><br/> |
|
20 | 20 | <%= text_field 'user', 'alias' %></p> |
|
21 | + | |
|
22 | + <p><label for="user_remark">Remark</label><br/> | |
|
23 | + <%= text_field 'user', 'remark' %></p> | |
|
21 | 24 | <!--[eoform:user]--> |
|
22 | 25 |
deleted file |
You need to be logged in to leave comments.
Login now