Sign up

<%= form_with(model: @auth_user, method: :post) do |f| %> <%= render "devise/shared/error_messages", resource: @auth_user %>

Choose a username, and an email address we can use to reset your password.

Do not use your Neopets or email password here. We don't expect a security breach, and we hash your password securely. Regardless, if anything happens, we want there to be absolutely no harm done.

<%= f.label :name, 'Username' %>
<%= f.text_field :name, autofocus: true, autocomplete: "username" %>
<%= f.label :email %>
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
<%= f.label :password %> <% if @minimum_password_length %> (<%= @minimum_password_length %> characters minimum) <% end %>
<%= 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" %>