Browse Source

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
Henry Oswald 8 years ago
parent
commit
c050791905
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/web/app/views/subscriptions/new.pug

+ 1 - 1
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' : ''")