summaryrefslogtreecommitdiffstats
path: root/templates/answer_edit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/answer_edit.html')
-rw-r--r--templates/answer_edit.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/answer_edit.html b/templates/answer_edit.html
index 8baa7c1e..cd247a3c 100644
--- a/templates/answer_edit.html
+++ b/templates/answer_edit.html
@@ -1,14 +1,15 @@
{% extends "base.html" %}
<!-- template answer_edit.html -->
{% load i18n %}
+{% load extra_tags %}
{% block title %}{% spaceless %}{% trans "Edit answer" %}{% endspaceless %}{% endblock %}
{% block forejs %}
- <script type='text/javascript' src='/content/js/com.cnprog.editor.js'></script>
- <script type='text/javascript' src='/content/js/com.cnprog.post.js'></script>
- <script type='text/javascript' src='/content/js/jquery.validate.pack.js'></script>
- <script type='text/javascript' src='/content/js/wmd/showdown.js'></script>
- <script type='text/javascript' src='/content/js/wmd/wmd.js'></script>
- <link rel="stylesheet" type="text/css" href="/content/js/wmd/wmd.css" />
+ <script type='text/javascript' src='{% href "/content/js/com.cnprog.editor.js" %}'></script>
+ <script type='text/javascript' src='{% href "/content/js/com.cnprog.post.js" %}'></script>
+ <script type='text/javascript' src='{% href "/content/js/jquery.validate.pack.js" %}'></script>
+ <script type='text/javascript' src='{% href "/content/js/wmd/showdown.js" %}'></script>
+ <script type='text/javascript' src='{% href "/content/js/wmd/wmd.js" %}'></script>
+ <link rel="stylesheet" type="text/css" href="{% href "/content/js/wmd/wmd.css" %}" />
<script type="text/javascript">
$().ready(function(){