<% content_for :header, t('.hello_please_sign_in') %>

<%= form_for(resource, :as => resource_name, :url => main_app.user_session_path(resource_name)) do |f| %>
  <div class='field session_username clearfix'>
    <%= f.label :login %>
    <%= f.text_field :login, :class => 'larger widest' %>
  </div>
  <div class='field session_password clearfix'>
    <%= f.label :password %>
    <%= f.password_field :password, :autocomplete => 'off', :class => 'larger widest' %>
  </div>
  <div class='clearfix'>
    <% if devise_mapping.rememberable? %>
      <div class='field remember_me'>
        <%= f.check_box :remember_me %>
        <%= f.label :remember_me %>
      </div>
    <% end %>
    <div class='field forgot_password'>
      <%= link_to t('.forgot_password'), main_app.new_user_password_path(resource_name) %>
    </div>
  </div>
  <%= render :partial => "/shared/admin/form_actions",
             :locals => {
               :f => f,
               :submit_button_text => t('.sign_in'),
               :hide_cancel => true
             } %>
<% end -%>

<% content_for :header, t('.hello_please_sign_in') %>

<%= form_for(resource, :as => resource_name, :url => main_app.user_session_path) do |f| %>
  <div class='field session_username clearfix'>
    <%= f.label :login %>
    <%= f.text_field :login, :class => 'larger widest' %>
  </div>
  <div class='field session_password clearfix'>
    <%= f.label :password %>
    <%= f.password_field :password, :autocomplete => 'off', :class => 'larger widest' %>
  </div>
  <div class='clearfix'>
    <% if devise_mapping.rememberable? %>
      <div class='field remember_me'>
        <%= f.check_box :remember_me %>
        <%= f.label :remember_me %>
      </div>
    <% end %>
    <div class='field forgot_password'>
      <%= link_to t('.forgot_password'), main_app.new_user_password_path(resource_name) %>
    </div>
  </div>
  <%= render :partial => "/shared/admin/form_actions",
             :locals => {
               :f => f,
               :submit_button_text => t('.sign_in'),
               :hide_cancel => true
             } %>
<% end -%>

Fix failed fix from earlier re: new user session path
[route] Fix failed fix from earlier re: new user session path
