diff options
Diffstat (limited to 'templates/question_edit.html')
-rw-r--r-- | templates/question_edit.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/question_edit.html b/templates/question_edit.html index 8ce980fe..59b70477 100644 --- a/templates/question_edit.html +++ b/templates/question_edit.html @@ -4,12 +4,12 @@ {% load extra_tags %} {% block title %}{% spaceless %}{% trans "Edit question" %}{% endspaceless %}{% endblock %} {% block forejs %} - <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' src='{% media "/content/js/com.cnprog.editor.js" %}'></script> + <script type='text/javascript' src='{% media "/content/js/com.cnprog.post.js" %}'></script> + <script type='text/javascript' src='{% media "/content/js/jquery.validate.pack.js" %}'></script> + <script type='text/javascript' src='{% media "/content/js/wmd/showdown.js" %}'></script> + <script type='text/javascript' src='{% media "/content/js/wmd/wmd.js" %}'></script> + <link rel="stylesheet" type="text/css" href="{% media "/content/js/wmd/wmd.css" %}" /> <script type="text/javascript"> //todo move javascript out $().ready(function(){ |