Add amount label + Reset textarea height

This commit is contained in:
PCoder 2018-10-03 08:38:20 +02:00
parent 8a2734fa0e
commit 27a92780a6

View file

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