X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..e6f5f6cdaed0d12bd739d7b2de6dc247d899724d:/src/funding/forms.py?ds=inline diff --git a/src/funding/forms.py b/src/funding/forms.py index 6ed9076dd..6feb104c9 100644 --- a/src/funding/forms.py +++ b/src/funding/forms.py @@ -13,12 +13,13 @@ from . import app_settings class FundingForm(forms.Form): required_css_class = 'required' - amount = forms.DecimalField(label=_("Amount"), decimal_places=2, - widget=PerksAmountWidget()) - name = forms.CharField(label=_("Name"), required=False, - help_text=_("Optional name for public list of contributors")) - email = forms.EmailField(label=_("Contact e-mail"), - help_text=_("We'll use it to contact you about the details needed for your perks,
" + amount = forms.DecimalField(label=_("Amount"), decimal_places=2, widget=PerksAmountWidget()) + name = forms.CharField( + label=_("Name"), required=False, help_text=_("Optional name for public list of contributors")) + email = forms.EmailField( + label=_("Contact e-mail"), + help_text=_( + "We'll use it to contact you about the details needed for your perks,
" "and to send you updates about your payment and the fundraiser status (which you can always turn off).
" "Your e-mail won't be publicised."), required=False) @@ -52,4 +53,3 @@ class FundingForm(forms.Form): ) funding.perks = funding.offer.get_perks(funding.amount) return funding -