2006-07-29 13:32:58 +04:00
|
|
|
<center>
|
|
|
|
<div class="box login">
|
2007-01-08 22:21:59 +03:00
|
|
|
<h2 class="icon22 icon22-authent"><%=l(:label_please_login)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2007-01-26 23:24:51 +03:00
|
|
|
<% form_tag({:action=> "login"}, :class => "tabular") do %>
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="login"><%=l(:field_login)%>:</label>
|
|
|
|
<%= text_field_tag 'login', nil, :size => 25 %></p>
|
2006-07-29 13:32:58 +04:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="password"><%=l(:field_password)%>:</label>
|
|
|
|
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
|
|
|
|
|
|
|
<p><center><input type="submit" name="login" value="<%=l(:button_login)%> »" class="primary" /></center>
|
2007-01-26 22:56:25 +03:00
|
|
|
<% end %>
|
2006-09-02 17:33:23 +04:00
|
|
|
|
2007-02-04 12:37:28 +03:00
|
|
|
<br>
|
|
|
|
<% links = []
|
|
|
|
links << link_to(l(:label_register), :action => 'register') if Setting.self_registration?
|
|
|
|
links << link_to(l(:label_password_lost), :action => 'password_lost') if Setting.password_lost?
|
|
|
|
%>
|
|
|
|
<%= links.join(" | ") %>
|
|
|
|
</p>
|
|
|
|
|
2006-07-29 13:32:58 +04:00
|
|
|
</div>
|
|
|
|
</center>
|