aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/generic
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/generic')
-rwxr-xr-xservo/templates/generic/delete.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/servo/templates/generic/delete.html b/servo/templates/generic/delete.html
index 0503ce5..a8fa789 100755
--- a/servo/templates/generic/delete.html
+++ b/servo/templates/generic/delete.html
@@ -2,16 +2,16 @@
{% load i18n %}
{% block header %}
- {{ title }}
+ {{ title }}
{% endblock header %}
{% block body %}
- {{ explanation }}
+ {{ explanation }}
{% endblock body %}
{% block footer %}
- <form method="post" action="{{ action }}">
- {% csrf_token %}
- <button type="submit" class="btn btn-danger">{% trans "Delete" %}</button>
- </form>
+<form method="post" action="{{ action|default:request.path }}">
+ {% csrf_token %}
+ <button type="submit" class="btn btn-danger">{% trans "Delete" %}</button>
+</form>
{% endblock footer %}