new.html.erb 649 B

123456789101112131415161718192021
  1. <div class='row'>
  2. <div class='col-md-8 col-md-offset-2'>
  3. <div class='well'>
  4. <h2>Resend confirmation instructions</h2>
  5. <%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'form-horizontal' }) do |f| %>
  6. <%= devise_error_messages! %>
  7. <div class="form-group">
  8. <%= f.label :email %>
  9. <%= f.email_field :email, autofocus: true, class: 'form-control' %>
  10. </div>
  11. <%= f.submit "Resend confirmation instructions", class: "btn btn-primary" %>
  12. <% end %>
  13. <%= render "devise/shared/links" %>
  14. </div>
  15. </div>
  16. </div>