Description:
update change password box
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r734:c459855d26ea - - 1 file changed: 12 inserted, 11 deleted
@@ -2,34 +2,35 | |||
|
2 | 2 | |
|
3 | 3 | %h1 Your account settings |
|
4 | 4 | |
|
5 | 5 | -#%p |
|
6 | 6 | -#You can edit your alias and e-mails. Just click on the text and edit it. |
|
7 | 7 | |
|
8 | - %table.uinfo | |
|
8 | + %table.table.table-bordered{:style => "width:30%"} | |
|
9 | 9 | %tr |
|
10 |
- %th |
|
|
11 |
- %td |
|
|
10 | + %th Login | |
|
11 | + %td= @user.login | |
|
12 | 12 | %tr |
|
13 |
- %th |
|
|
14 |
- %td |
|
|
13 | + %th Full name | |
|
14 | + %td= @user.full_name | |
|
15 | 15 | -#%tr |
|
16 | 16 | -#%th.uinfo Alias |
|
17 | 17 | -#%td.uinfo= in_place_editor_field :user, 'alias_for_editing', {}, :rows => 1 |
|
18 | 18 | -#%tr |
|
19 | 19 | -#%th.uinfo E-mail |
|
20 | 20 | -#%td.uinfo= in_place_editor_field :user, 'email_for_editing', {}, :rows => 1 |
|
21 | 21 | %tr |
|
22 |
- %th |
|
|
23 |
- %td |
|
|
22 | + %th Password | |
|
23 | + %td | |
|
24 | 24 | = form_tag :action => 'chg_passwd', :method => 'post' do |
|
25 | 25 | %table |
|
26 | 26 | %tr |
|
27 | - %td= password_field_tag 'passwd' | |
|
27 | + %td | |
|
28 | + %input{:type => "password", :class => "form-control", :name => "passwd", :id => "passwd"} | |
|
28 | 29 | %td (new) |
|
29 | 30 | %tr |
|
30 | - %td= password_field_tag 'passwd_verify' | |
|
31 | + %td | |
|
32 | + %input{:type => "password", :class => "form-control", :name => "passwd_verify", :id => "passwd_verify"} | |
|
31 | 33 | %td (verify) |
|
32 | 34 | %tr |
|
33 | 35 | %td{:colspan => "2"} |
|
34 | - = submit_tag 'change password' | |
|
35 | - | |
|
36 | + %input{:type => "button", :class => "btn btn-default", :name => "commit", :value => "Change Password"} |
You need to be logged in to leave comments.
Login now