<%= form_tag({:controller => "account", :action=> "login"}) do %>
<%= back_url_to_current_page_hidden_field_tag %>
<% if Setting.openid? %>
<%= text_field_tag "openid_url", nil, :placeholder => l(:field_identity_url) %>
<% end %>
<% if Setting.autologin? %>
<% end %>
<% if Setting.lost_password? %>
<%= link_to l(:label_password_lost), {:controller => 'account', :action => 'lost_password'} %>
<% end %>
<% if !User.current.logged? && Setting.self_registration? %>
<%= "|" if Setting.lost_password? %>
<%= link_to l(:label_register), { :controller => 'account', :action => 'register' } %>
<% end %>
<% end %>