Moved MediaComment form descriptions to apt. place
This commit is contained in:
parent
69b5623552
commit
55a04f01b8
@ -105,9 +105,6 @@
|
||||
<form action="{{ request.urlgen('mediagoblin.user_pages.media_post_comment',
|
||||
user= media.get_uploader.username,
|
||||
media_id=media.id) }}" method="POST" id="form_comment">
|
||||
<p>
|
||||
{% trans %}You can use <a href="http://daringfireball.net/projects/markdown/basics">Markdown</a> for formatting.{% endtrans %}
|
||||
</p>
|
||||
{{ wtforms_util.render_divs(comment_form) }}
|
||||
<div class="form_submit_buttons">
|
||||
<input type="submit" value="{% trans %}Add this comment{% endtrans %}" class="button_action" />
|
||||
|
@ -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'<a href="http://daringfireball.net/projects/markdown/basics">'
|
||||
u'Markdown</a> for formatting.'))
|
||||
|
||||
class ConfirmDeleteForm(wtforms.Form):
|
||||
confirm = wtforms.BooleanField(
|
||||
|
Loading…
x
Reference in New Issue
Block a user