Sign up
<%%= form_with(model: @<%= model_resource_name %>, url: sign_up_path) do |form| %>
<%% if @<%= singular_table_name %>.errors.any? %>
<%%= pluralize(@<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:
<%% @<%= singular_table_name %>.errors.each do |error| %>
- <%%= error.full_message %>
<%% end %>
<%% end %>
<%%= form.label :email, style: "display: block" %>
<%%= form.email_field :email, autofocus: true, autocomplete: "email" %>
<%%= form.label :password, style: "display: block" %>
<%%= form.password_field :password, autocomplete: "new-password" %>
8 characters minimum.
<%%= form.label :password_confirmation, style: "display: block" %>
<%%= form.password_field :password_confirmation, autocomplete: "new-password" %>
<%%= form.submit "Sign up" %>
<%% end %>