diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-08 10:48:36 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-08 10:48:36 +0300 |
commit | 2a7251afa0438b1472c66932a4c22d378ae15c28 (patch) | |
tree | ce9752d1f44369bb5f2b372982e953911303c056 /servo/templates/generic | |
parent | 88e291a6ed830f11671f04893031eec2291a6703 (diff) | |
download | Servo-2a7251afa0438b1472c66932a4c22d378ae15c28.tar.gz Servo-2a7251afa0438b1472c66932a4c22d378ae15c28.tar.bz2 Servo-2a7251afa0438b1472c66932a4c22d378ae15c28.zip |
Cleanup
Diffstat (limited to 'servo/templates/generic')
-rwxr-xr-x | servo/templates/generic/delete.html | 12 |
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 %} |