diff --git a/registripe/forms.py b/registripe/forms.py index 91370957..3816c5de 100644 --- a/registripe/forms.py +++ b/registripe/forms.py @@ -62,6 +62,8 @@ class StripeWidgetProxy(widgets.Widget): class CreditCardForm(forms.Form): + required_css_class = 'label-required' + def _media(self): js = ( 'https://js.stripe.com/v2/', @@ -142,6 +144,8 @@ class CreditCardForm(forms.Form): class StripeRefundForm(forms.Form): + required_css_class = 'label-required' + def __init__(self, *args, **kwargs): '''