Sign up
<%= form_with(model: resource, as: resource_name, url: registration_path(resource_name), local: true) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<%= f.label :email %>
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
<%= f.label :password %>
<%= f.password_field :password, autocomplete: "new-password" %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation, autocomplete: "new-password" %>
<%= f.submit "Sign up" %>
<% end %>
<%= render "devise/shared/links" %>