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