Make recurring monthly and amount in chf explicit
This commit is contained in:
parent
a90bec98ec
commit
114dbd8242
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue