<%=t "devise.unlocks.new.title" %>
<%= form_for(resource, as: resource_name, url: unlock_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.unlocks.new.submit"), class: "btn btn-primary" %>
<% end %>
<%= render "users/shared/links" %>