diff options
Diffstat (limited to 'papillon/templates/vote.html')
-rw-r--r-- | papillon/templates/vote.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/papillon/templates/vote.html b/papillon/templates/vote.html index 94d1898..dc384f5 100644 --- a/papillon/templates/vote.html +++ b/papillon/templates/vote.html @@ -3,9 +3,9 @@ {% load get_range %} {% block fullscript %} -<script type="text/javascript" src="{{root_url}}admin/jsi18n/"></script> -<script type="text/javascript" src="{{root_url}}media/js/core.js"></script> -<script type="text/javascript" src="{{root_url}}media/js/admin/RelatedObjectLookups.js"></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_comment.media }} {% endblock %} @@ -14,7 +14,7 @@ {% if error %}<p class='alert'>{{ error }}</p>{% endif %} {% if not poll.open %}<p class='alert'>{% trans "The current poll is closed."%}</p>{% endif %} <p>{{ poll.description|safe }}</p> - <form method='post' action='{{base_url}}'> + <form method='post' action='.'> <div id='poll_table'> <table id='poll'> <tr> @@ -119,15 +119,15 @@ <hr class='spacer'/> </form> {%if poll.opened_admin%} - <p><a href="{{root_url}}editChoicesUser/{{poll.base_url}}/">{%trans "Add a new choice to this poll?"%}</a></p>{%endif%} + <p><a href="{% url edit_choices_user poll.base_url %}">{%trans "Add a new choice to this poll?"%}</a></p>{%endif%} <div class='footnote'> {%if hide_vote%}<p>{% trans "You have already vote? You are enough wise not to be influenced by other votes? You can display result by clicking" %} <a href='?display_result=1'>{% trans "here" %}</a>.</p>{%else%} - <p>{% trans "Remain informed of poll evolution:" %} <a href="{{root_url}}feeds/poll/{{poll.base_url}}/">{%trans "syndication"%}</a></p>{%endif%} + <p>{% trans "Remain informed of poll evolution:" %} <a href="../../feeds/poll/{{poll.base_url}}">{%trans "syndication"%}</a></p>{%endif%} </div> {%if not hide_vote%} <h3>{%trans "Comments"%}</h3> <div class='comments'> - {%if poll.open%}<form method='post' action='{{base_url}}'> + {%if poll.open%}<form method='post' action='.'> <table class='comment'> <tr> <td><label for='comment_author'>{% trans "Author name" %}</label></td> |