<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
  <%= devise_error_messages! %>
  <div class="col-md-3"></div>
  <div class="col-md-6" >
  	  <h4>Resend confirmation instructions</h4>
	  <div class="form-group">
	    <%= f.label :email %><br />
	    <%= f.email_field :email, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email),:class =>"form-control" %>
	  </div>

	  <div class="actions">
	    <%= f.submit "Resend confirmation instructions" ,:class=> "btn btn-lg btn-primary btn-block"%>
	  </div>
	  <%= render "devise/shared/links" %>
  </div>
<% end %>

