<%= simple_form_for(resource,
as: resource_name,
url: unlock_path(resource_name),
html: { :method => :post, class: 'form-horizontal' }
) do |f| %>
<%= devise_error_messages! %>
<%= f.input :email %>
<%= f.submit "Resend unlock instructions", class: 'btn btn-primary' %>
<% end %>
<%= render :partial => "devise/shared/links" %>