diff options
author | Matthew Lemon <y@yulqen.org> | 2024-08-03 21:39:57 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-08-03 21:39:57 +0100 |
commit | fd1bc6777df5b4c85c899e3bcdd1293a6bead630 (patch) | |
tree | f4fbb16bfdb6c5883df64d01e8bd4ea20a2875c5 /pyblackbird_cc/templates/resources/resource_card.html | |
parent | a06c426edc3bb33deab2e55c2dcd5f5c3b2f3504 (diff) |
Add feature to add PDFs to resources
Implemented the ability to upload and manage PDFs for resources. Added the necessary form, view, and templates to support this functionality. Updated routes and UI elements to integrate the new feature seamlessly.
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_card.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_card.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_card.html b/pyblackbird_cc/templates/resources/resource_card.html index 687438c..a7b03e3 100644 --- a/pyblackbird_cc/templates/resources/resource_card.html +++ b/pyblackbird_cc/templates/resources/resource_card.html @@ -39,6 +39,8 @@ class="btn btn-outline-primary btn-sm">Edit</a> <a href="{% url 'resources:resource_update_thumbnails' resource.id %}" class="btn btn-outline-primary btn-sm">Edit Feature Images</a> + <a href="{% url 'resources:resource_update_pdfs' resource.id %}" + class="btn btn-outline-primary btn-sm">Add PDFs</a> </div> {% endif %} </div>
\ No newline at end of file |