Show More
Commit Description:
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
Commit Description:
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@359 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/users/new.html.haml
| 39 lines
| 928 B
| text/x-haml
| HamlLexer
|
|
r162 | .contest-title | ||
%h1 | ||||
= "#{Configuration['contest.name']}: #{t 'registration.title'}" | ||||
|
r157 | |||
|
r162 | .registration-desc | ||
=t 'registration.description' | ||||
= error_messages_for :user, :header_message => (t 'registration.errors.header') | ||||
|
r157 | |||
%table | ||||
- form_for :user, @user, :url => { :action => 'register' } do |f| | ||||
%tr | ||||
|
r162 | %td{:align => "right"} | ||
= "#{t 'login_label'}:" | ||||
|
r157 | %td= f.text_field :login | ||
%tr | ||||
%td | ||||
%td | ||||
|
r162 | %small | ||
=t 'registration.login_guide' | ||||
|
r157 | %tr | ||
|
r162 | %td{:align => "right"} | ||
= "#{t 'full_name_label'}:" | ||||
|
r157 | %td= f.text_field :full_name | ||
%tr | ||||
|
r162 | %td{:align => "right"} | ||
= "#{t 'email_label'}:" | ||||
|
r157 | %td= f.text_field :email | ||
%tr | ||||
%td | ||||
%td | ||||
%small | ||||
|
r162 | =t 'registration.email_guide' | ||
|
r157 | %tr | ||
|
r162 | %td/ | ||
%td | ||||
= submit_tag((t 'registration.register'), :name => 'commit') | ||||
= submit_tag((t 'cancel'), :name => 'cancel') | ||||
|
r157 | |||