Force evaluation of Query() through count()
[mediagoblin.git] / mediagoblin / media_types / blog / forms.py
index 3b27907189f59b6e4ed2e69517b8cbf687ddc9e2..1cc41a02af2cba9df3cea5174f44b241aeba4332 100644 (file)
@@ -23,7 +23,7 @@ from mediagoblin.tools.licenses import licenses_as_choices
 class BlogPostEditForm(wtforms.Form):
     title = wtforms.TextField(_('Title'),
                [wtforms.validators.Length(min=0, max=500)])
-    description = wtforms.TextAreaField(_('Content'))
+    description = wtforms.TextAreaField(_('Description'))
     tags = wtforms.TextField(_('Tags'), [tag_length_validator], 
                description="Seperate tags by commas.")
     license = wtforms.SelectField(_('License'), 
@@ -34,6 +34,10 @@ class BlogEditForm(wtforms.Form):
                [wtforms.validators.Length(min=0, max=500)])
     description = wtforms.TextAreaField(_('Description'))
     
+
+class ConfirmDeleteForm(wtforms.Form):
+    confirm = wtforms.BooleanField(
+        _('I am sure I want to delete this'))