Show More
Commit Description:
fix readme
Commit Description:
fix readme
References:
File last commit:
Show/Diff file:
Action:
app/views/users/index.html.haml
| 36 lines
| 1.1 KiB
| text/x-haml
| HamlLexer
|
|
r78 | = user_title_bar(@user) | ||
|
r14 | %h1 Your account settings | ||
|
r162 | -#%p | ||
-#You can edit your alias and e-mails. Just click on the text and edit it. | ||||
|
r14 | |||
|
r734 | %table.table.table-bordered{:style => "width:30%"} | ||
|
r14 | %tr | ||
|
r734 | %th Login | ||
%td= @user.login | ||||
|
r14 | %tr | ||
|
r734 | %th Full name | ||
%td= @user.full_name | ||||
|
r162 | -#%tr | ||
-#%th.uinfo Alias | ||||
-#%td.uinfo= in_place_editor_field :user, 'alias_for_editing', {}, :rows => 1 | ||||
-#%tr | ||||
-#%th.uinfo E-mail | ||||
-#%td.uinfo= in_place_editor_field :user, 'email_for_editing', {}, :rows => 1 | ||||
|
r14 | %tr | ||
|
r734 | %th Password | ||
%td | ||||
|
r321 | = form_tag :action => 'chg_passwd', :method => 'post' do | ||
|
r14 | %table | ||
%tr | ||||
|
r734 | %td | ||
%input{:type => "password", :class => "form-control", :name => "passwd", :id => "passwd"} | ||||
|
r14 | %td (new) | ||
%tr | ||||
|
r734 | %td | ||
%input{:type => "password", :class => "form-control", :name => "passwd_verify", :id => "passwd_verify"} | ||||
|
r14 | %td (verify) | ||
%tr | ||||
%td{:colspan => "2"} | ||||
|
r734 | %input{:type => "button", :class => "btn btn-default", :name => "commit", :value => "Change Password"} | ||