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
1 changed files with 8 additions and 3 deletions

View File

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