From 99bfcd4d6717702f2d5e4e2aefa455bbae02469d Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Wed, 12 Dec 2018 18:38:14 +0100 Subject: [PATCH] Added download link on document edit form --- .../templates/admin/documents/document/change_form.html | 9 +++++++++ 1 file changed, 9 insertions(+) mode change 100755 => 100644 src/documents/templates/admin/documents/document/change_form.html diff --git a/src/documents/templates/admin/documents/document/change_form.html b/src/documents/templates/admin/documents/document/change_form.html old mode 100755 new mode 100644 index 3956a67c4..a255006eb --- a/src/documents/templates/admin/documents/document/change_form.html +++ b/src/documents/templates/admin/documents/document/change_form.html @@ -1,5 +1,14 @@ {% extends 'admin/change_form.html' %} +{% block object-tools-items %} +
  • + + Download file + +
  • + {{ block.super }} +{% endblock %} + {% block content %} {{ block.super }}