<%= t 'janus.sessions.new.sign_in' %>
<%= form_for resource, :as => resource_name, :url => session_path(janus_scope), :method => :post do |f| %>
<%= hidden_field_tag :return_to, params[:return_to] if params[:return_to] %>
<%= janus_error_messages %>
<% resource_class.authentication_keys.each do |key| %>
<%= f.label key %>
<%= f.text_field key %>
<% end %>
<%= f.label :password %>
<%= f.password_field :password %>
<% if resource.respond_to?(:remember_me!) %>
<%= check_box_tag :remember_me, '1' %>
<%= label_tag :remember_me, resource_class.human_attribute_name(:remember_me) %>
<% end %>
<%= f.submit t('janus.sessions.new.sign_in_btn') %>
<% end %>