Validate name presence on client-side as well
* remove email address validation, we have it covered by html itself and it's quite annoying * add shakeError animation * fix styles a bit
This commit is contained in:
parent
f9ff839b1a
commit
91a72d51ff
4 changed files with 36 additions and 14 deletions
|
@ -74,9 +74,9 @@
|
|||
"registration": "Registration",
|
||||
"token": "Invite token",
|
||||
"validations": {
|
||||
"username_required": "username should not be blank",
|
||||
"username_required": "should not be blank",
|
||||
"fullname_required": "should not be blank",
|
||||
"email_required": "should not be blank",
|
||||
"email_valid": "should be valid email",
|
||||
"password_required": "should not be blank",
|
||||
"password_confirmation_required": "should not be blank",
|
||||
"password_confirmation_match": "should be the same as password"
|
||||
|
|
|
@ -58,8 +58,8 @@
|
|||
"token": "Код приглашения",
|
||||
"validations": {
|
||||
"username_required": "не должно быть пустым",
|
||||
"fullname_required": "не должно быть пустым",
|
||||
"email_required": "не должен быть пустым",
|
||||
"email_valid": "должен быть корректный email адрес",
|
||||
"password_required": "не должен быть пустым",
|
||||
"password_confirmation_required": "не должно быть пустым",
|
||||
"password_confirmation_match": "должно совпадать с паролем"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue