diff options
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 %} |