Make recurring monthly and amount in chf explicit

This commit is contained in:
PCoder 2018-09-24 08:32:33 +02:00
parent a90bec98ec
commit 114dbd8242

View file

@ -54,9 +54,14 @@ class HostingUserLoginForm(forms.Form):
class GenericPaymentForm(forms.Form): class GenericPaymentForm(forms.Form):
amount = forms.FloatField( amount = forms.FloatField(
widget=forms.TextInput(), max_value=999999, min_value=1 widget=forms.TextInput(
) attrs={'placeholder': _('Amount in CHF')}
recurring = forms.BooleanField(required=False) ),
max_value=999999,
min_value=1
)
recurring = forms.BooleanField(required=False,
label=_("Recurring monthly"))
description = forms.CharField( description = forms.CharField(
widget=forms.Textarea(attrs={'style': "height: 150px;"}), widget=forms.Textarea(attrs={'style': "height: 150px;"}),
required=False required=False