From f1d1fd64d3b560e138b502e38b7d697a8ad99b41 Mon Sep 17 00:00:00 2001
From: raeno <just.raeno@gmail.com>
Date: Wed, 5 Dec 2018 20:19:39 +0400
Subject: Clean up the code

---
 src/components/registration/registration.vue | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

(limited to 'src/components/registration/registration.vue')

diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue
index fcc41d32..9c40e050 100644
--- a/src/components/registration/registration.vue
+++ b/src/components/registration/registration.vue
@@ -74,13 +74,7 @@
                 </li>
               </ul>
             </div>
-            <!--
-            <div class='form-group'>
-              <label for='captcha'>Captcha</label>
-              <img src='/qvittersimplesecurity/captcha.jpg' alt='captcha' class='captcha'>
-              <input :disabled="registering" v-model='user.captcha' placeholder='Enter captcha' type='test' class='form-control' id='captcha'>
-            </div>
-            -->
+
             <div class='form-group' v-if='token' >
               <label for='token'>{{$t('registration.token')}}</label>
               <input disabled='true' v-model='token' class='form-control' id='token' type='text'>
@@ -89,12 +83,10 @@
               <button :disabled="isPending" type='submit' class='btn btn-default'>{{$t('general.submit')}}</button>
             </div>
           </div>
-          <div class='terms-of-service' v-html="termsofservice">
+
+          <div class='terms-of-service' v-html="termsOfService">
           </div>
         </div>
-        <div v-if="clientValidationFailed">
-          <span>Form is invalid</span>
-        </div>
         <div v-if="serverValidationErrors.length" class='form-group'>
           <div class='alert error'>
             <span v-for="error in serverValidationErrors">{{error}}</span>
@@ -165,7 +157,7 @@
   }
 
   .form-group--error .form--label {
-    color: #f04124;
+    color: var(--cRed, #f04124);
   }
 
   .form-error {
@@ -198,8 +190,6 @@
   }
 
   .btn {
-    //align-self: flex-start;
-    //width: 10em;
     margin-top: 0.6em;
     height: 28px;
   }
-- 
cgit v1.2.3-70-g09d2

