remove the form control, it just breaks the iframe styling

This commit is contained in:
Henry Oswald 2018-04-13 16:51:55 +01:00
parent ae3858bcd0
commit ccef0760ae

View file

@ -105,7 +105,7 @@ block content
.form-group(ng-class="validation.correctCardNumber == false || validation.errorFields.number || inputHasError(simpleCCForm.ccNumber) ? 'has-error' : ''") .form-group(ng-class="validation.correctCardNumber == false || validation.errorFields.number || inputHasError(simpleCCForm.ccNumber) ? 'has-error' : ''")
label(for="card-no") #{translate("credit_card_number")} label(for="card-no") #{translate("credit_card_number")}
div#card-no.form-control( div#card-no(
type="text" type="text"
name="ccNumber" name="ccNumber"
data-recurly='number' data-recurly='number'
@ -119,7 +119,7 @@ block content
.col-xs-3 .col-xs-3
.form-group.has-feedback(ng-class="validation.correctExpiry == false || validation.errorFields.expiry || inputHasError(simpleCCForm.expiry) ? 'has-error' : ''") .form-group.has-feedback(ng-class="validation.correctExpiry == false || validation.errorFields.expiry || inputHasError(simpleCCForm.expiry) ? 'has-error' : ''")
label(for="month") #{translate("month")} label(for="month") #{translate("month")}
div.form-control( div(
type="text" type="text"
name="month" name="month"
ng-focus="validation.correctExpiry = true; validation.errorFields.expiry = false;" ng-focus="validation.correctExpiry = true; validation.errorFields.expiry = false;"
@ -131,7 +131,7 @@ block content
.col-xs-3 .col-xs-3
.form-group.has-feedback(ng-class="validation.correctExpiry == false || validation.errorFields.expiry || inputHasError(simpleCCForm.expiry) ? 'has-error' : ''") .form-group.has-feedback(ng-class="validation.correctExpiry == false || validation.errorFields.expiry || inputHasError(simpleCCForm.expiry) ? 'has-error' : ''")
label(for="year") #{translate("year")} label(for="year") #{translate("year")}
div.form-control( div(
type="text" type="text"
name="year" name="year"
data-recurly="year" data-recurly="year"
@ -146,7 +146,7 @@ block content
.col-xs-6 .col-xs-6
.form-group.has-feedback(ng-class="validation.correctCvv == false || validation.errorFields.cvv || inputHasError(simpleCCForm.cvv) ? 'has-error' : ''") .form-group.has-feedback(ng-class="validation.correctCvv == false || validation.errorFields.cvv || inputHasError(simpleCCForm.cvv) ? 'has-error' : ''")
label #{translate("security_code")} label #{translate("security_code")}
div.form-control( div(
type="text" type="text"
ng-model="data.cvv" ng-model="data.cvv"
ng-focus="validation.correctCvv = true; validation.errorFields.cvv = false;" ng-focus="validation.correctCvv = true; validation.errorFields.cvv = false;"