<%=t "devise.passwords.new.title" %>
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<% if not resource.errors.empty? %>
<%= devise_error_messages! %>
<% end %>
<%= f.label :email %>
<%= f.email_field :email, autofocus: true, class: "form-control" %>
<%= f.submit t("devise.passwords.new.submit"), class: "btn btn-primary" %>
<% end %>
<%= render "users/shared/links" %>