Resend confirmation instructions

<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post, :role => "form" }) do |f| %> <%= devise_error_messages! %>
<%= f.label :username %>
<%= f.text_field :username, :autofocus => true, class: "form-control" %>
<%= f.submit "Resend confirmation instructions", class: "btn btn-primary" %>
<% end %> <%= render "devise/shared/links" %>