<% @title ||= t("devise.titles.sign_in") %> <%= semantic_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <%= f.input :email, input_html: {autofocus: true} %> <%= f.input :password %> <% if devise_mapping.rememberable? -%> <%= f.input :remember_me, as: :boolean, label: false %> <% end -%> <%= f.actions do %> <%= f.action :submit, label: t("devise.buttons.sign_in") %>     <%= link_to(t("devise.links.forgot_password"), new_user_password_path) %> <% end %> <% end %>