mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-25 16:18:51 +01:00
Fix bad URL when canceling query deletion, to address #615
This commit is contained in:
parent
2cf1a32a10
commit
c3bf39a3b9
@ -11,12 +11,11 @@
|
||||
<p>{% blocktrans %}You have shared this query, so other users may be using it. If you delete it, they will have to manually create their own query.{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
|
||||
<p><a href='{% url 'helpdesk:list' %}?saved_query={{ query.id }}'><button class="btn btn-primary btn-lg">{% trans "No, Don't Delete It" %}</button></a></p>
|
||||
|
||||
<p><a href='../'><button class="btn btn-primary btn-lg">{% trans "No, Don't Delete It" %}</button></a></p>
|
||||
|
||||
<form method='post' action='./'>
|
||||
<form method='post' action='./'>{% csrf_token %}
|
||||
<button class="btn btn-danger" type='submit'>{% trans "Yes I Understand - Delete It Anyway" %}</button>
|
||||
{% csrf_token %}</form>
|
||||
</form>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user