You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
837 B

  1. <h2>Sign up</h2>
  2. <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  3. <%= render "devise/shared/error_messages", resource: resource %>
  4. <div class="field">
  5. <%= f.label :email %><br />
  6. <%= f.email_field :email, autofocus: true, autocomplete: "email" %>
  7. </div>
  8. <div class="field">
  9. <%= f.label :password %>
  10. <% if @minimum_password_length %>
  11. <em>(<%= @minimum_password_length %> characters minimum)</em>
  12. <% end %><br />
  13. <%= f.password_field :password, autocomplete: "new-password" %>
  14. </div>
  15. <div class="field">
  16. <%= f.label :password_confirmation %><br />
  17. <%= f.password_field :password_confirmation, autocomplete: "new-password" %>
  18. </div>
  19. <div class="actions">
  20. <%= f.submit "Sign up" %>
  21. </div>
  22. <% end %>
  23. <%= render "devise/shared/links" %>