Add Markdown for submit page, edit page, profile edit page; thus fixing ticket #690

This commit is contained in:
Jef van Schendel
2012-01-04 17:48:16 +01:00
parent 8545cfc97d
commit 9c196287ad
4 changed files with 16 additions and 5 deletions

View File

@@ -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],