Remove unnecessary piece of text in media.html. Fix "Markdown text" indentation so they are the same.

This commit is contained in:
Jef van Schendel 2012-01-13 23:23:02 +01:00
parent 20659de234
commit fafec72740
2 changed files with 4 additions and 5 deletions

View File

@ -45,10 +45,9 @@ class EditProfileForm(wtforms.Form):
bio = wtforms.TextAreaField(
_('Bio'),
[wtforms.validators.Length(min=0, max=500)],
description=_(
"""You can use
<a href="http://daringfireball.net/projects/markdown/basics">
Markdown</a> for formatting."""))
description=_("""You can use
<a href="http://daringfireball.net/projects/markdown/basics">
Markdown</a> for formatting."""))
url = wtforms.TextField(
_('Website'),
[wtforms.validators.Optional(),

View File

@ -97,7 +97,7 @@
user= media.get_uploader.username,
media=media._id) }}" method="POST" id="form_comment">
<p>
{% trans %}Type your comment here. You can use <a href="http://daringfireball.net/projects/markdown/basics">Markdown</a> for formatting.{% endtrans %}
{% 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">