<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
Resend unlock instructions <%= devise_error_messages! %>
<%= f.label :email, :class => 'control-label' %>
<%= f.email_field :email, :class => 'email_field' %>
<%= f.submit 'Resend unlock instructions', :class => 'btn btn-primary' %> <%= render "links" %>
<% end %>