Show More
Commit Description:
removed caching on Configuration...
Commit Description:
removed caching on Configuration
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@285 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/users/index.html.haml
| 39 lines
| 920 B
| text/x-haml
| HamlLexer
|
|
r25 | - content_for :head do | ||
= javascript_include_tag :defaults | ||||
|
r14 | |||
|
r78 | = user_title_bar(@user) | ||
|
r14 | %h1 Your account settings | ||
%p | ||||
|
r24 | You can edit your alias and e-mails. Just click on the text and edit it. | ||
|
r14 | |||
%table.uinfo | ||||
%tr | ||||
%th.uinfo Login | ||||
%td.uinfo= @user.login | ||||
%tr | ||||
%th.uinfo Full name | ||||
|
r23 | %td.uinfo= @user.full_name | ||
|
r14 | %tr | ||
%th.uinfo Alias | ||||
|
r18 | %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 | ||
%th.uinfo Password | ||||
%td.uinfo | ||||
- form_tag :action => 'chg_passwd', :method => 'post' do | ||||
%table | ||||
%tr | ||||
%td= password_field_tag 'passwd' | ||||
%td (new) | ||||
%tr | ||||
%td= password_field_tag 'passwd_verify' | ||||
%td (verify) | ||||
%tr | ||||
%td{:colspan => "2"} | ||||
= submit_tag 'change password' | ||||