Show More
Commit Description:
fix schema for source length to 1m
Commit Description:
fix schema for source length to 1m
File last commit:
Show/Diff file:
Action:
app/views/users/index.html.haml | 35 lines | 874 B | text/x-haml | HamlLexer |
jittat
more styling...
r78 = user_title_bar(@user)
jittat
+user template, +some style...
r14 %h1 Your account settings
jittat
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
r162 -#%p
-#You can edit your alias and e-mails. Just click on the text and edit it.
jittat
+user template, +some style...
r14
%table.uinfo
%tr
%th.uinfo Login
%td.uinfo= @user.login
%tr
%th.uinfo Full name
jittat
disable fullname editing...
r23 %td.uinfo= @user.full_name
jittat
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
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
jittat
+user template, +some style...
r14 %tr
%th.uinfo Password
%td.uinfo
Jittat Fakcharoenphol
fixed form_tag/form_for, disabled attributes whitelist
r321 = form_tag :action => 'chg_passwd', :method => 'post' do
jittat
+user template, +some style...
r14 %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'