aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/submit/forms.py
diff options
context:
space:
mode:
authorJef van Schendel <mail@jefvanschendel.nl>2012-01-04 17:48:16 +0100
committerJef van Schendel <mail@jefvanschendel.nl>2012-01-04 17:48:16 +0100
commit9c196287ad26f52acb38d6c37560848da23151a6 (patch)
tree780bc61630e476116d469a2d6437df497e497420 /mediagoblin/submit/forms.py
parent8545cfc97d9336b100881bd3ebafd4a5f4882dd3 (diff)
downloadmediagoblin-9c196287ad26f52acb38d6c37560848da23151a6.tar.lz
mediagoblin-9c196287ad26f52acb38d6c37560848da23151a6.tar.xz
mediagoblin-9c196287ad26f52acb38d6c37560848da23151a6.zip
Add Markdown for submit page, edit page, profile edit page; thus fixing ticket #690
Diffstat (limited to 'mediagoblin/submit/forms.py')
-rw-r--r--mediagoblin/submit/forms.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/mediagoblin/submit/forms.py b/mediagoblin/submit/forms.py
index e21b00ee..7ef3638f 100644
--- a/mediagoblin/submit/forms.py
+++ b/mediagoblin/submit/forms.py
@@ -27,7 +27,10 @@ class SubmitStartForm(wtforms.Form):
_('Title'),
[wtforms.validators.Length(min=0, max=500)])
description = wtforms.TextAreaField(
- _('Description of this work'))
+ _('Description of this work'),
+ description=_("""You can use
+ <a href="http://daringfireball.net/projects/markdown/basics">
+ Markdown</a> for formatting."""))
tags = wtforms.TextField(
_('Tags'),
[tag_length_validator],