aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJef van Schendel <mail@jefvanschendel.nl>2011-11-20 15:34:40 +0100
committerJef van Schendel <mail@jefvanschendel.nl>2011-11-20 15:34:40 +0100
commitcee794a8f7ac82ee7681f749e56411c910e281a6 (patch)
treeb347ce181979d0de58398ba745bc4c6240914c34
parent88f20b58b29a4edbfbc24378a991d82de8e7b975 (diff)
downloadmediagoblin-cee794a8f7ac82ee7681f749e56411c910e281a6.tar.lz
mediagoblin-cee794a8f7ac82ee7681f749e56411c910e281a6.tar.xz
mediagoblin-cee794a8f7ac82ee7681f749e56411c910e281a6.zip
Fix for bug #467, "Add explanatory copy to add/edit picture pages saying that tags are comma-separated"
-rw-r--r--mediagoblin/edit/forms.py4
-rw-r--r--mediagoblin/submit/forms.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py
index ec4e22b3..93934be7 100644
--- a/mediagoblin/edit/forms.py
+++ b/mediagoblin/edit/forms.py
@@ -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"))],
diff --git a/mediagoblin/submit/forms.py b/mediagoblin/submit/forms.py
index 25d6e304..48a21f02 100644
--- a/mediagoblin/submit/forms.py
+++ b/mediagoblin/submit/forms.py
@@ -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."))