<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <%= render "headmin/forms/email", form: f, attribute: :email, required: true, float: true %> <%= render "headmin/forms/password", form: f, attribute: :password, required: true, float: true %> <% if devise_mapping.rememberable? %> <%= render "headmin/forms/checkbox", form: f, attribute: :remember_me %> <% end %> <%= f.submit t(".login"), class: "btn btn-lg btn-primary w-100" %> <%= render "headmin/views/devise/shared/links" %> <% end %>