Sign up

<%= form_with(model: resource, as: resource_name, url: registration_path(resource_name), local: true, html: { class: 'needs-validation', novalidate: true }) do |f| %> <%= render "devise/shared/error_messages", resource: resource %>
<%= f.label :email, class: 'form-label' %> <%= f.email_field :email, autofocus: true, autocomplete: "email", class: 'form-control' %>
<%= f.label :password, class: 'form-label' %> <%= f.password_field :password, autocomplete: "new-password", class: 'form-control' %>
<%= f.label :password_confirmation, class: 'form-label' %> <%= f.password_field :password_confirmation, autocomplete: "new-password", class: 'form-control' %>
<%= f.submit "Sign up", class: 'btn btn-primary' %>
<% end %> <%= render "devise/shared/links" %>