blob: b490b4fafd076a50cc3abc2dfc8ae8b5591c5d77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{% extends "base.html" %}
{% load static %}
{% load crispy_forms_tags %}
{% block content %}
<div class="row d-flex justify-content-center">
<div class="col bg-light mt-lg-4 p-4 border border-success border-opacity-25 rounded">
<h1>Update PDFs for <strong>{{ resource.name }}</strong> resource</h1>
<p>The current PDFs for this resource are:</p>
<ul>
{% for pdf in resource.get_pdf_file_names %}
<li><em>{{ pdf }}</em></li>
{% endfor %}
</ul>
<form action="{% url "resources:resource_update_pdfs" resource.id %}"
method="post" enctype="multipart/form-data">
{% csrf_token %}
{% crispy form form.helper %}
</form>
</div>
</div>
{% endblock %}
|