summaryrefslogtreecommitdiff
path: root/chimere/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/forms.py')
-rw-r--r--chimere/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/chimere/forms.py b/chimere/forms.py
index a5ad894..7315775 100644
--- a/chimere/forms.py
+++ b/chimere/forms.py
@@ -95,6 +95,12 @@ class ContactForm(forms.Form):
email = forms.EmailField(label=_("Email (optional)"), required=False)
content = forms.CharField(label=_("Object"), widget=forms.Textarea)
+class SubCategoryAdminForm(forms.ModelForm):
+ '''
+ Add a tinyMCE widget to fill description
+ '''
+ description = forms.CharField(widget=FullTextareaWidget, required=False)
+
class PageAdminForm(forms.ModelForm):
"""
Main form for extra pages