change ng to use show/hide

ng-if doesn't render html until evaulated to true, need the form
to be there at time of recurly.configure
This commit is contained in:
Henry Oswald 2018-04-13 16:57:33 +01:00
parent ccef0760ae
commit c050791905

View file

@ -76,7 +76,7 @@ block content
.alert.alert-warning.small(ng-show="genericError") .alert.alert-warning.small(ng-show="genericError")
strong {{genericError}} strong {{genericError}}
div() div(ng-show="paymentMethod.value === 'credit_card'")
.row .row
.col-xs-6 .col-xs-6
.form-group(ng-class="validation.errorFields.first_name || inputHasError(simpleCCForm.firstName) ? 'has-error' : ''") .form-group(ng-class="validation.errorFields.first_name || inputHasError(simpleCCForm.firstName) ? 'has-error' : ''")