summaryrefslogtreecommitdiffstats
path: root/core/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/forms.py')
-rw-r--r--core/forms.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/forms.py b/core/forms.py
index 939f64f..e0654fb 100644
--- a/core/forms.py
+++ b/core/forms.py
@@ -8,14 +8,14 @@ from datetime import date
from tinymce.widgets import TinyMCE
class CaveForm(ModelForm):
- underground_description = forms.CharField(required = False, widget=TinyMCE(attrs={'cols': 80, 'rows': 30}))
- explorers = forms.CharField(required = False, widget=TinyMCE(attrs={'cols': 80, 'rows': 10}))
- equipment = forms.CharField(required = False, widget=TinyMCE(attrs={'cols': 80, 'rows': 10}))
- survey = forms.CharField(required = False, widget=TinyMCE(attrs={'cols': 80, 'rows': 10}))
- kataster_status = forms.CharField(required = False, widget=TinyMCE(attrs={'cols': 80, 'rows': 10}))
- underground_centre_line = forms.CharField(required = False, widget=TinyMCE(attrs={'cols': 80, 'rows': 10}))
- notes = forms.CharField(required = False, widget=TinyMCE(attrs={'cols': 80, 'rows': 10}))
- references = forms.CharField(required = False, widget=TinyMCE(attrs={'cols': 80, 'rows': 10}))
+ underground_description = forms.CharField(required = False, widget=forms.Textarea())
+ explorers = forms.CharField(required = False, widget=forms.Textarea())
+ equipment = forms.CharField(required = False, widget=forms.Textarea())
+ survey = forms.CharField(required = False, widget=forms.Textarea())
+ kataster_status = forms.CharField(required = False, widget=forms.Textarea())
+ underground_centre_line = forms.CharField(required = False, widget=forms.Textarea())
+ notes = forms.CharField(required = False, widget=forms.Textarea())
+ references = forms.CharField(required = False, widget=forms.Textarea())
class Meta:
model = Cave