Increase textarea rows for better error display
This commit is contained in:
@@ -12,7 +12,7 @@ class ThingForm(forms.ModelForm):
|
|||||||
widgets = {
|
widgets = {
|
||||||
'name': forms.TextInput(attrs={'class': 'form-control'}),
|
'name': forms.TextInput(attrs={'class': 'form-control'}),
|
||||||
'thing_type': forms.Select(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}),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user