app/views/devise/registrations/new.html.haml
.page-header
.page-header-inner
%h1.page-header-title Register to Play
.page-header-links
= render "devise/shared/links"
= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: 'porkchop-form' }) do |f|
- if f.error_notification
.form-errors
= f.error_notification
.form-field-group
%h2.form-field-group-title Identification
= f.input :email, required: true
= f.input :name, required: true, autofocus: true, hint: "Please enter your real name. You can enter a nickname later."
.form-field-group
= f.input :password, required: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length)
= f.input :password_confirmation, required: true
.form-actions
= f.button :submit, "Sign up"