@@ -1,24 +1,25 | |||||
1 | <center> |
|
1 | <center> | |
2 | <div class="box login"> |
|
2 | <div class="box login"> | |
3 | <h2 class="icon22 icon22-authent"><%=l(:label_please_login)%></h2> |
|
3 | <h2 class="icon22 icon22-authent"><%=l(:label_please_login)%></h2> | |
4 |
|
4 | |||
5 | <% form_tag({:action=> "login"}, :class => "tabular") do %> |
|
5 | <% form_tag({:action=> "login"}, :class => "tabular") do %> | |
6 | <p><label for="login"><%=l(:field_login)%>:</label> |
|
6 | <p><label for="login"><%=l(:field_login)%>:</label> | |
7 | <%= text_field_tag 'login', nil, :size => 25 %></p> |
|
7 | <%= text_field_tag 'login', nil, :size => 25 %></p> | |
8 |
|
8 | |||
9 | <p><label for="password"><%=l(:field_password)%>:</label> |
|
9 | <p><label for="password"><%=l(:field_password)%>:</label> | |
10 | <%= password_field_tag 'password', nil, :size => 25 %></p> |
|
10 | <%= password_field_tag 'password', nil, :size => 25 %></p> | |
11 |
|
11 | |||
12 | <p><center><input type="submit" name="login" value="<%=l(:button_login)%> »" class="primary" /></center> |
|
12 | <p><center><input type="submit" name="login" value="<%=l(:button_login)%> »" class="primary" /></center> | |
13 | <% end %> |
|
13 | <% end %> | |
|
14 | <%= javascript_tag "Form.Element.focus('login');" %> | |||
14 |
|
15 | |||
15 | <br> |
|
16 | <br> | |
16 | <% links = [] |
|
17 | <% links = [] | |
17 | links << link_to(l(:label_register), :action => 'register') if Setting.self_registration? |
|
18 | links << link_to(l(:label_register), :action => 'register') if Setting.self_registration? | |
18 | links << link_to(l(:label_password_lost), :action => 'lost_password') if Setting.lost_password? |
|
19 | links << link_to(l(:label_password_lost), :action => 'lost_password') if Setting.lost_password? | |
19 | %> |
|
20 | %> | |
20 | <%= links.join(" | ") %> |
|
21 | <%= links.join(" | ") %> | |
21 | </p> |
|
22 | </p> | |
22 |
|
23 | |||
23 | </div> |
|
24 | </div> | |
24 | </center> No newline at end of file |
|
25 | </center> |
General Comments 0
You need to be logged in to leave comments.
Login now