From c050791905aa52f7b1ec66c35fad75d8ec1777ee Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 13 Apr 2018 16:57:33 +0100 Subject: [PATCH] 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 --- services/web/app/views/subscriptions/new.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/subscriptions/new.pug b/services/web/app/views/subscriptions/new.pug index 5f679d0d8e..27908d4c2c 100644 --- a/services/web/app/views/subscriptions/new.pug +++ b/services/web/app/views/subscriptions/new.pug @@ -76,7 +76,7 @@ block content .alert.alert-warning.small(ng-show="genericError") strong {{genericError}} - div() + div(ng-show="paymentMethod.value === 'credit_card'") .row .col-xs-6 .form-group(ng-class="validation.errorFields.first_name || inputHasError(simpleCCForm.firstName) ? 'has-error' : ''")