philomena/lib/philomena_web/templates/pow/registration/new.html.slime

46 lines
1.5 KiB
Text
Raw Normal View History

2019-11-13 05:49:37 +01:00
h1 Register
= form_for @changeset, @action, [as: :user], fn f ->
= if @changeset.action do
.alert.alert-danger
p Oops, something went wrong! Please check the errors below.
.fieldlabel
' Non-anonymous posts permanently show your username as of posting time,
' and may appear on search engines; choose wisely.
.field
= text_input f, :name, class: "input", placeholder: "Username", required: true
= error_tag f, :name
.fieldlabel
' You'll use your email address to log in, and we'll use this to get in
' touch if we need to. Don't worry, we won't share this or spam you.
.field
= text_input f, :email, class: "input", placeholder: "Email", required: true
= error_tag f, :email
.fieldlabel
' Pick a good strong password - longer is better! Minimum of 6 characters.
.field
= password_input f, :password, class: "input", placeholder: "Password", required: true
= error_tag f, :password
.field
= password_input f, :confirm_password, class: "input", placeholder: "Confirm password", required: true
= error_tag f, :confirm_password
br
.block.block--fixed.block--warning
p
' We won't share your personal information, won't send you spam emails,
' and take your security and privacy seriously.
p
strong
' Don't forget to read the
a<> href="/pages/rules" site rules
' before you dive in - they contain a quick introduction on how to
' use the site.
br
= submit "Sign Up", class: "button"