Increase textarea rows for better error display

This commit is contained in:
2025-12-28 23:04:59 +01:00
parent 805510c0f6
commit 2295c6f3da

View File

@@ -12,7 +12,7 @@ class ThingForm(forms.ModelForm):
widgets = {
'name': forms.TextInput(attrs={'class': 'form-control'}),
'thing_type': forms.Select(attrs={'class': 'form-control'}),
'description': forms.Textarea(attrs={'class': 'form-control', 'rows': 2}),
'description': forms.Textarea(attrs={'class': 'form-control', 'rows': 4}),
}