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
|
= error_tag f, :password
|
||||||
|
|
||||||
.field
|
.field
|
||||||
= password_input f, :confirm_password, class: "input", placeholder: "Confirm new password"
|
= password_input f, :password_confirmation, class: "input", placeholder: "Confirm new password"
|
||||||
= error_tag f, :confirm_password
|
= error_tag f, :password_confirmation
|
||||||
|
|
||||||
.fieldlabel
|
.fieldlabel
|
||||||
' Leave these blank if you don't want to change your password.
|
' 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
|
= password_input f, :password, class: "input", placeholder: "Password", required: true
|
||||||
= error_tag f, :password
|
= error_tag f, :password
|
||||||
.field
|
.field
|
||||||
= password_input f, :confirm_password, class: "input", placeholder: "Confirm password", required: true
|
= password_input f, :password_confirmation, class: "input", placeholder: "Confirm password", required: true
|
||||||
= error_tag f, :confirm_password
|
= error_tag f, :password_confirmation
|
||||||
|
|
||||||
.field
|
.field
|
||||||
= checkbox f, :captcha, class: "js-captcha", value: 0
|
= checkbox f, :captcha, class: "js-captcha", value: 0
|
||||||
|
|
|
@ -10,7 +10,7 @@ h1 Reset password
|
||||||
= error_tag f, :password
|
= error_tag f, :password
|
||||||
|
|
||||||
.field
|
.field
|
||||||
= password_input f, :confirm_password, class: "input", placeholder: "Confirm password"
|
= password_input f, :password_confirmation, class: "input", placeholder: "Confirm password"
|
||||||
= error_tag f, :confirm_password
|
= error_tag f, :password_confirmation
|
||||||
|
|
||||||
= submit "Submit", class: "button"
|
= submit "Submit", class: "button"
|
|
@ -64,7 +64,7 @@
|
||||||
"name": "Administrator",
|
"name": "Administrator",
|
||||||
"email": "admin@example.com",
|
"email": "admin@example.com",
|
||||||
"password": "trixieisbestpony",
|
"password": "trixieisbestpony",
|
||||||
"confirm_password": "trixieisbestpony",
|
"password_confirmation": "trixieisbestpony",
|
||||||
"role": "admin"
|
"role": "admin"
|
||||||
}],
|
}],
|
||||||
"rating_tags": [
|
"rating_tags": [
|
||||||
|
|
|
@ -3,21 +3,21 @@
|
||||||
"name": "Hot Pocket Consumer",
|
"name": "Hot Pocket Consumer",
|
||||||
"email": "moderator@example.com",
|
"email": "moderator@example.com",
|
||||||
"password": "willdeleteglimmerposts4hotpockets",
|
"password": "willdeleteglimmerposts4hotpockets",
|
||||||
"confirm_password": "willdeleteglimmerposts4hotpockets",
|
"password_confirmation": "willdeleteglimmerposts4hotpockets",
|
||||||
"role": "moderator"
|
"role": "moderator"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Hoping For a Promotion",
|
"name": "Hoping For a Promotion",
|
||||||
"email": "assistant@example.com",
|
"email": "assistant@example.com",
|
||||||
"password": "hotpocketfetchingass",
|
"password": "hotpocketfetchingass",
|
||||||
"confirm_password": "hotpocketfetchingass",
|
"password_confirmation": "hotpocketfetchingass",
|
||||||
"role": "assistant"
|
"role": "assistant"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Pleb",
|
"name": "Pleb",
|
||||||
"email": "user@example.com",
|
"email": "user@example.com",
|
||||||
"password": "glimmerpostingplebeian",
|
"password": "glimmerpostingplebeian",
|
||||||
"confirm_password": "glimmerpostingplebeian",
|
"password_confirmation": "glimmerpostingplebeian",
|
||||||
"role": "user"
|
"role": "user"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue