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:
raeno 2018-12-05 19:42:33 +04:00
parent f9ff839b1a
commit 91a72d51ff
4 changed files with 36 additions and 14 deletions

View file

@ -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"

View file

@ -58,8 +58,8 @@
"token": "Код приглашения",
"validations": {
"username_required": "не должно быть пустым",
"fullname_required": "не должно быть пустым",
"email_required": "не должен быть пустым",
"email_valid": "должен быть корректный email адрес",
"password_required": "не должен быть пустым",
"password_confirmation_required": "не должно быть пустым",
"password_confirmation_match": "должно совпадать с паролем"