From c90c61720ed936311b83c9ed43f38a1892de20da Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Fri, 9 Jan 2015 22:07:20 -0500 Subject: [PATCH] Tidying up --- views/account/email-signup.jade | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/views/account/email-signup.jade b/views/account/email-signup.jade index 356807d382..58d993a29b 100644 --- a/views/account/email-signup.jade +++ b/views/account/email-signup.jade @@ -5,13 +5,12 @@ block content form.form-horizontal(method='POST', action='/email-signup', name="signupForm", novalidate="novalidate") input(type='hidden', name='_csrf', value=_csrf) .form-group - h3 - .col-sm-6.col-sm-offset-3 - input.form-control(type='email', ng-model='email', ng-keypress='', name='email', id='email', placeholder='email', autofocus, required, autocomplete="off", unique-email='') - .col-sm-3(ng-show="signupForm.email.$error.unique && !signupForm.email.$pristine") - alert(type='danger') - span.ion-close-circled - | This email is taken. + .col-sm-6.col-sm-offset-3 + input.form-control(type='email', ng-model='email', ng-keypress='', name='email', id='email', placeholder='email', autofocus, required, autocomplete="off", unique-email='') + .col-sm-6.col-sm-offset-3(ng-show="signupForm.email.$error.unique && !signupForm.email.$pristine") + alert(type='danger') + span.ion-close-circled + | This email is taken. .form-group .col-sm-6.col-sm-offset-3 input.form-control(type='text', name='username', ng-keypress='', autocomplete="off", id='username', placeholder='username', ng-model='username', unique-username='', required, ng-minlength=5, ng-maxlength=20)