summaryrefslogtreecommitdiff
path: root/app/utils/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/utils/widgets.py')
-rw-r--r--app/utils/widgets.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/utils/widgets.py b/app/utils/widgets.py
index 6d6a334..290c7ab 100644
--- a/app/utils/widgets.py
+++ b/app/utils/widgets.py
@@ -90,10 +90,15 @@ class AdminImageWidget(AdminFileWidget):
class LGEntryForm(forms.ModelForm):
class Meta:
widgets = {
- 'body_markdown': forms.Textarea(attrs={'rows': 50, 'cols': 100}),
+ 'body_markdown': forms.Textarea(attrs={'rows': 40, 'cols': 100}),
}
+class LGEntryFormSmall(forms.ModelForm):
+ class Meta:
+ widgets = {
+ 'body_markdown': forms.Textarea(attrs={'rows': 12, 'cols': 100}),
+ }
class OLAdminBase(OSMGeoAdmin):
default_lon = -9285175
default_lat = 4025046