Add amount label + Reset textarea height
This commit is contained in:
parent
8a2734fa0e
commit
27a92780a6
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue