mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
fix #23
This commit is contained in:
parent
c972f00cdc
commit
9241a08bce
5 changed files with 12 additions and 12 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
|
@ -64,7 +64,7 @@
|
|||
"name": "Administrator",
|
||||
"email": "admin@example.com",
|
||||
"password": "trixieisbestpony",
|
||||
"confirm_password": "trixieisbestpony",
|
||||
"password_confirmation": "trixieisbestpony",
|
||||
"role": "admin"
|
||||
}],
|
||||
"rating_tags": [
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue