new.html.erb 917 B

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