Show More
Commit Description:
fix layout problem, again...
Commit Description:
fix layout problem, again
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@41 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/users/index.html.haml
| 32 lines
| 759 B
| text/x-haml
| HamlLexer
|
|
r14 | |||
%h1 Your account settings | ||||
%p | ||||
You can edit your full name and alias. Just click on the text and edit it. | ||||
%table.uinfo | ||||
%tr | ||||
%th.uinfo Login | ||||
%td.uinfo= @user.login | ||||
%tr | ||||
%th.uinfo Full name | ||||
%td.uinfo= in_place_editor_field :user, 'full_name', {}, :rows => 1 | ||||
%tr | ||||
%th.uinfo Alias | ||||
%td.uinfo= in_place_editor_field :user, 'alias', {}, :rows => 1 | ||||
%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' | ||||