diff options
author | Jef van Schendel <mail@jefvanschendel.nl> | 2011-11-20 15:34:40 +0100 |
---|---|---|
committer | Jef van Schendel <mail@jefvanschendel.nl> | 2011-11-20 15:34:40 +0100 |
commit | cee794a8f7ac82ee7681f749e56411c910e281a6 (patch) | |
tree | b347ce181979d0de58398ba745bc4c6240914c34 | |
parent | 88f20b58b29a4edbfbc24378a991d82de8e7b975 (diff) | |
download | mediagoblin-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.py | 4 | ||||
-rw-r--r-- | mediagoblin/submit/forms.py | 4 |
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.")) |