put wiki templates back into Django templating

This commit is contained in:
Adam Palay
2013-08-12 15:50:34 -04:00
parent 13d54c0dd7
commit 18a979bb4d
3 changed files with 37 additions and 28 deletions

View File

@@ -1,5 +1,8 @@
<%! from django.utils.translation import ugettext as _ %>
{% load i18n %}
<textarea {{ attrs }}>{{ content }}</textarea>
<p id="hint_id_content" class="help-block">
${_('Markdown syntax is allowed. See the <a id="cheatsheetLink" href="#">_{("cheatsheet")}</a> for help.')}
{% comment %}
Translators: Do not translate 'cheatsheetLink'
{% endcomment %}
{% trans "Markdown syntax is allowed. See the <a id='cheatsheetLink' href='#'>cheatsheet</a> for help." %}
</p>