diff --git a/templates/partials/document_display.html b/templates/partials/document_display.html index c590e91..e8501e7 100644 --- a/templates/partials/document_display.html +++ b/templates/partials/document_display.html @@ -1,15 +1,15 @@ {% if document.attached_images.all %} - {% for image in document.attached_images.all %} - {% if image.image_type == "recto" or image.image_type == "verso" %} - - Manuscript page {{document.page_range}} - -

- Page {{ document.page_range }} ({{document.docside}}) -

- {% endif %} - {% endfor %} + {% for image in document.attached_images.all %} + {% if image.image_type == "recto" or image.image_type == "verso" %} + + Manuscript page {{document.page_range}} + +

+ Page {{ document.page_range }} ({{document.docside}}) +

+ {% endif %} + {% endfor %} {% else %} -

No images available

+

No images available

{% endif %} \ No newline at end of file