This commit is contained in:
byte[] 2020-01-26 18:09:37 -05:00
parent c972f00cdc
commit 9241a08bce
5 changed files with 12 additions and 12 deletions

View file

@ -44,8 +44,8 @@ p
= error_tag f, :password
.field
= password_input f, :confirm_password, class: "input", placeholder: "Confirm new password"
= error_tag f, :confirm_password
= password_input f, :password_confirmation, class: "input", placeholder: "Confirm new password"
= error_tag f, :password_confirmation
.fieldlabel
' Leave these blank if you don't want to change your password.

View file

@ -25,8 +25,8 @@ h1 Register
= 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
= password_input f, :password_confirmation, class: "input", placeholder: "Confirm password", required: true
= error_tag f, :password_confirmation
.field
= checkbox f, :captcha, class: "js-captcha", value: 0

View file

@ -10,7 +10,7 @@ h1 Reset password
= error_tag f, :password
.field
= password_input f, :confirm_password, class: "input", placeholder: "Confirm password"
= error_tag f, :confirm_password
= password_input f, :password_confirmation, class: "input", placeholder: "Confirm password"
= error_tag f, :password_confirmation
= submit "Submit", class: "button"
= submit "Submit", class: "button"

View file

@ -64,7 +64,7 @@
"name": "Administrator",
"email": "admin@example.com",
"password": "trixieisbestpony",
"confirm_password": "trixieisbestpony",
"password_confirmation": "trixieisbestpony",
"role": "admin"
}],
"rating_tags": [

View file

@ -3,21 +3,21 @@
"name": "Hot Pocket Consumer",
"email": "moderator@example.com",
"password": "willdeleteglimmerposts4hotpockets",
"confirm_password": "willdeleteglimmerposts4hotpockets",
"password_confirmation": "willdeleteglimmerposts4hotpockets",
"role": "moderator"
},
{
"name": "Hoping For a Promotion",
"email": "assistant@example.com",
"password": "hotpocketfetchingass",
"confirm_password": "hotpocketfetchingass",
"password_confirmation": "hotpocketfetchingass",
"role": "assistant"
},
{
"name": "Pleb",
"email": "user@example.com",
"password": "glimmerpostingplebeian",
"confirm_password": "glimmerpostingplebeian",
"password_confirmation": "glimmerpostingplebeian",
"role": "user"
}
],
@ -83,4 +83,4 @@
}]
}
]
}
}