Merge pull request #2849 from coreos-inc/fix-recaptcha
quay-require and ng-class don't work well together
This commit is contained in:
commit
5c1b635439
1 changed files with 5 additions and 3 deletions
|
@ -28,9 +28,11 @@
|
|||
match="newUser.password" required
|
||||
ng-pattern="/^.{8,}$/">
|
||||
|
||||
<div class="captcha" quay-require="['RECAPTCHA']"
|
||||
ng-class="{'expanded': newUser.password == newUser.repeatPassword && newUser.password}">
|
||||
<div vc-recaptcha ng-model="newUser.recaptcha_response" key="Config.RECAPTCHA_SITE_KEY"></div>
|
||||
<div quay-require="['RECAPTCHA']">
|
||||
<div class="captcha"
|
||||
ng-class="{'expanded': !!(newUser.password == newUser.repeatPassword && newUser.password)}">
|
||||
<div vc-recaptcha ng-model="newUser.recaptcha_response" key="Config.RECAPTCHA_SITE_KEY"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button id="signupButton"
|
||||
|
|
Reference in a new issue