Fix for bug #467, "Add explanatory copy to add/edit picture pages saying that tags...
authorJef van Schendel <mail@jefvanschendel.nl>
Sun, 20 Nov 2011 14:34:40 +0000 (15:34 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Sun, 20 Nov 2011 14:34:40 +0000 (15:34 +0100)
mediagoblin/edit/forms.py
mediagoblin/submit/forms.py

index ec4e22b34620e47e13cdf88786c50050a6c80b49..93934be7aaabb7cd48407211cf934091a600df30 100644 (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"))],
index 25d6e304d47f27acaa413747c5e3de3b4f00211b..48a21f02cab7a1f82d71f6cceb4630422339476c 100644 (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."))