From 8e9cafc108a5ca98b3a1a6bb2d9b8acf61902fef Mon Sep 17 00:00:00 2001 From: paolo Date: Tue, 16 Oct 2018 18:55:30 +0200 Subject: [PATCH] Validation dei campi di registrazione: OK Invio al server e scrittura su DB: OK --- src/components/views/login/signup.vue | 16 +++++++++------- src/i18n.js | 2 ++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/views/login/signup.vue b/src/components/views/login/signup.vue index da0d7f5..fb791c4 100644 --- a/src/components/views/login/signup.vue +++ b/src/components/views/login/signup.vue @@ -11,7 +11,7 @@ @@ -27,7 +27,7 @@ @@ -42,7 +42,7 @@ @@ -56,7 +56,7 @@ @@ -70,7 +70,7 @@ @@ -86,8 +86,10 @@ /> - - Submit +
+ {{$t('reg.submit')}} + +
diff --git a/src/i18n.js b/src/i18n.js index 89a4c8e..65fed67 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -12,6 +12,7 @@ const messages = { password: 'Password', repeatPassword: 'Ripeti password', terms: "Accetti i termini e le condizioni?", + submit: "Registrati", err: { required: 'รจ richiesto', email: 'dev\'essere una email valida', @@ -39,6 +40,7 @@ const messages = { password: 'Password', repeatPassword: 'Repeat password', terms: "Do you agree with the terms & conditions?", + submit: "Submit", err: { required: 'is required', email: 'must be a valid email',