summaryrefslogtreecommitdiff
path: root/papillon/templates/edit.html
diff options
context:
space:
mode:
authorAdrien Dorsaz <adrien@adorsaz.ch>2013-07-30 18:43:12 +0200
committerAdrien Dorsaz <adrien@adorsaz.ch>2013-07-30 18:43:12 +0200
commit18b57522b7dcfe210b627bbc665c000cba53b1ae (patch)
treed6f37460eb1b6cf8bba1baadaf9179687ac86a8c /papillon/templates/edit.html
parentb0cc7979d1f07b311ed0de7cba3a3f9196833227 (diff)
downloadPapillon-18b57522b7dcfe210b627bbc665c000cba53b1ae.tar.bz2
Papillon-18b57522b7dcfe210b627bbc665c000cba53b1ae.zip
Use simple quotes instead of double quotes for url template function
Diffstat (limited to 'papillon/templates/edit.html')
-rw-r--r--papillon/templates/edit.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/papillon/templates/edit.html b/papillon/templates/edit.html
index 3bfb856..647700d 100644
--- a/papillon/templates/edit.html
+++ b/papillon/templates/edit.html
@@ -3,7 +3,7 @@
{% load i18n %}
{% block fullscript %}
-<script type="text/javascript" src="{% url "admin_i18n" %}"></script>
+<script type="text/javascript" src="{% url 'admin_i18n' %}"></script>
<script type="text/javascript" src="{{admin_url}}js/core.js"></script>
<script type="text/javascript" src="{{admin_url}}js/admin/RelatedObjectLookups.js"></script>
{{ form.media }}
@@ -16,7 +16,7 @@
<tr>
<td><label>{% trans "Poll url" %}</label></td>
<td>
-<a href='{% url "poll" poll.base_url%}'>{{ base_url }}</a>
+<a href="{% url 'poll' poll.base_url %}">{{ base_url }}</a>
</td>
<td class='form_description'><p>
{% trans "Copy this address and send it to voters who want to participate to this poll" %}
@@ -25,7 +25,7 @@
<tr>
<td><label>{% trans "Administration url" %}</label></td>
<td>
-<a href='{% url "edit" poll.admin_url %}'>{{ edit_url }}</a>
+<a href="{% url 'edit' poll.admin_url %}">{{ edit_url }}</a>
</td>
<td class='form_description'><p>
{% trans "Address to modify the current poll" %}
@@ -34,7 +34,7 @@
<tr>
<td><label>{% trans "Choices administration url" %}</label></td>
<td>
-<a href='{% url "edit_choices_admin" poll.admin_url %}'>{{choices_url }}</a>
+<a href="{% url 'edit_choices_admin' poll.admin_url %}">{{choices_url }}</a>
</td>
<td class='form_description'><p>
{% trans "Address to modify choices of the current poll." %}