From: Joar Wandborg Date: Tue, 22 Jan 2013 13:38:53 +0000 (+0100) Subject: Moved MediaComment form descriptions to apt. place X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=55a04f01b881830f164e8a1b0a695dead6cddba3;p=mediagoblin.git Moved MediaComment form descriptions to apt. place --- diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 29d7874c..7e184257 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -105,9 +105,6 @@
-

- {% trans %}You can use Markdown for formatting.{% endtrans %} -

{{ wtforms_util.render_divs(comment_form) }}
diff --git a/mediagoblin/user_pages/forms.py b/mediagoblin/user_pages/forms.py index 9e8ccf01..c7398d84 100644 --- a/mediagoblin/user_pages/forms.py +++ b/mediagoblin/user_pages/forms.py @@ -20,8 +20,11 @@ from mediagoblin.tools.translate import fake_ugettext_passthrough as _ class MediaCommentForm(wtforms.Form): comment_content = wtforms.TextAreaField( - '', - [wtforms.validators.Required()]) + _('Comment'), + [wtforms.validators.Required()], + description=_(u'You can use ' + u'' + u'Markdown for formatting.')) class ConfirmDeleteForm(wtforms.Form): confirm = wtforms.BooleanField(