Description:
added view file
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r287:ef21ac5a4e2a - - 1 file changed: 34 inserted, 0 deleted
@@ -0,0 +1,34 | |||
|
1 | + %b= Configuration['ui.front.welcome_message'] | |
|
2 | + %br/ | |
|
3 | + | |
|
4 | + - if !@hidelogin | |
|
5 | + =t 'login.message' | |
|
6 | + %br/ | |
|
7 | + %br/ | |
|
8 | + | |
|
9 | + - if flash[:notice] | |
|
10 | + %hr/ | |
|
11 | + %b= flash[:notice] | |
|
12 | + %hr/ | |
|
13 | + | |
|
14 | + %div{ :style => "border: solid 1px gray; padding: 4px; background: #eeeeff;"} | |
|
15 | + - form_tag :controller => 'login', :action => 'login' do | |
|
16 | + %table | |
|
17 | + %tr | |
|
18 | + %td{:align => "right"} | |
|
19 | + ="#{t 'login_label'}:" | |
|
20 | + %td= text_field_tag 'login' | |
|
21 | + %tr | |
|
22 | + %td{:align => "right"} | |
|
23 | + ="#{t 'password_label'}:" | |
|
24 | + %td= password_field_tag | |
|
25 | + = submit_tag t('login.login_submit') | |
|
26 | + %br/ | |
|
27 | + | |
|
28 | + - if Configuration['system.online_registration'] | |
|
29 | + =t 'login.participation' | |
|
30 | + %b | |
|
31 | + = "#{t 'login.please'} " | |
|
32 | + = link_to "#{t 'login.register'}", :controller => :users, :action => :new | |
|
33 | + %br/ | |
|
34 | + = link_to "#{t 'login.forget_password'}", :controller => :users, :action => :forget |
You need to be logged in to leave comments.
Login now