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
File last commit:
Show/Diff file:
Action:
app/views/main/login.html.haml | 42 lines | 1013 B | text/x-haml | HamlLexer |
%h1= Configuration['ui.front.title']
- if @announcements.length!=0
.announcementbox
%span{:class => 'title'}
Announcements
= render :partial => 'announcement', :collection => @announcements
%b= Configuration['ui.front.welcome_message']
%br/
- if !@hidelogin
=t 'login.message'
%br/
%br/
- if flash[:notice]
%hr/
%b= flash[:notice]
%hr/
%div{ :style => "border: solid 1px gray; padding: 2px; background: #f0f0f0;"}
- form_tag :controller => 'login', :action => 'login' do
%table
%tr
%td{:align => "right"}
="#{t 'login_label'}:"
%td= text_field_tag 'login'
%tr
%td{:align => "right"}
="#{t 'password_label'}:"
%td= password_field_tag
= submit_tag t('login.login_submit')
%br/
- if Configuration['system.online_registration']
=t 'login.participation'
%b
= "#{t 'login.please'} "
= link_to "#{t 'login.register'}", :controller => :users, :action => :new
%br/