Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Added download link on document edit form
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Winkler committed Dec 12, 2018
1 parent 4b20d5d commit 99bfcd4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/documents/templates/admin/documents/document/change_form.html
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{% extends 'admin/change_form.html' %}

{% block object-tools-items %}
<li>
<a href="{{download_url}}">
Download file
</a>
</li>
{{ block.super }}
{% endblock %}

{% block content %}

{{ block.super }}
Expand Down

0 comments on commit 99bfcd4

Please sign in to comment.