aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/generic
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-08 10:48:36 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-08 10:48:36 +0300
commit2a7251afa0438b1472c66932a4c22d378ae15c28 (patch)
treece9752d1f44369bb5f2b372982e953911303c056 /servo/templates/generic
parent88e291a6ed830f11671f04893031eec2291a6703 (diff)
downloadServo-2a7251afa0438b1472c66932a4c22d378ae15c28.tar.gz
Servo-2a7251afa0438b1472c66932a4c22d378ae15c28.tar.bz2
Servo-2a7251afa0438b1472c66932a4c22d378ae15c28.zip
Cleanup
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 %}