mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add !isFormValid(simpleCCForm)
back in, was used during debugging
This commit is contained in:
parent
985d05a297
commit
086f080ee4
1 changed files with 1 additions and 9 deletions
|
@ -106,8 +106,6 @@ block content
|
|||
type="text"
|
||||
name="ccNumber"
|
||||
data-recurly='number'
|
||||
ng-blur="validateCardNumber();"
|
||||
required
|
||||
)
|
||||
|
||||
.row
|
||||
|
@ -117,9 +115,7 @@ block content
|
|||
div(
|
||||
type="number"
|
||||
name="month"
|
||||
ng-blur="updateExpiry(); validateExpiry()"
|
||||
data-recurly="month"
|
||||
required
|
||||
)
|
||||
.col-xs-3
|
||||
.form-group.has-feedback(ng-class="validation.errorFields.year ? 'has-external-error' : ''")
|
||||
|
@ -128,8 +124,6 @@ block content
|
|||
type="number"
|
||||
name="year"
|
||||
data-recurly="year"
|
||||
ng-blur="updateExpiry(); validateExpiry()"
|
||||
required
|
||||
)
|
||||
|
||||
.col-xs-6
|
||||
|
@ -138,10 +132,8 @@ block content
|
|||
div(
|
||||
type="number"
|
||||
ng-model="data.cvv"
|
||||
ng-blur="validateCvv()"
|
||||
data-recurly="cvv"
|
||||
name="cvv"
|
||||
required
|
||||
cc-format-sec-code
|
||||
)
|
||||
.form-control-feedback
|
||||
|
@ -197,7 +189,7 @@ block content
|
|||
div.payment-submit
|
||||
button.btn.btn-success.btn-block(
|
||||
ng-click="submit()"
|
||||
ng-disabled="processing"
|
||||
ng-disabled="processing || !isFormValid(simpleCCForm);"
|
||||
)
|
||||
span(ng-show="processing")
|
||||
i.fa.fa-spinner.fa-spin
|
||||
|
|
Loading…
Reference in a new issue