<% @title ||= t("devise.titles.forgot_password") %> <%= semantic_form_for(resource, as: resource_name, url: password_path(resource_name), html: {method: :post}) do |f| %> <%= f.input :email, input_html: {autofocus: true} %> <%= f.actions do %> <%= f.action :submit, label: t("devise.buttons.reset_password") %> <% end %> <% end %> <%= render "devise/shared/links" %>