% content_for :head do %>
<%= javascript_include_tag "login" %>
<% end %>
<% content_for :heading do %>
<%= form_tag({ :action => "login" }, { :id => "login_form" }) do %>
<%= hidden_field_tag('referer', h(params[:referer])) %>
<%= t '.no account' %> <%= link_to t('.register now'), :action => :new, :referer => params[:referer] %>
<% end %>
<%= form_tag(auth_path(:provider => "openid"), :id => "openid_login_form") do %>
<% end %>