Fix for bug #467, "Add explanatory copy to add/edit picture pages saying that tags are comma-separated"

This commit is contained in:
Jef van Schendel 2011-11-20 15:34:40 +01:00
parent 88f20b58b2
commit cee794a8f7
2 changed files with 6 additions and 2 deletions

View File

@ -26,7 +26,9 @@ class EditForm(wtforms.Form):
description = wtforms.TextAreaField('Description of this work')
tags = wtforms.TextField(
_('Tags'),
[tag_length_validator])
[tag_length_validator],
description=_(
"Seperate tags by commas or spaces."))
slug = wtforms.TextField(
_('Slug'),
[wtforms.validators.Required(message=_("The slug can't be empty"))],

View File

@ -30,4 +30,6 @@ class SubmitStartForm(wtforms.Form):
_('Description of this work'))
tags = wtforms.TextField(
_('Tags'),
[tag_length_validator])
[tag_length_validator],
description=_(
"Seperate tags by commas or spaces."))