Skip to content

Commit

Permalink
fix: Fixed typo in image for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
hepplerj committed Jul 23, 2024
1 parent 2399121 commit faaa68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/manuscript.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1>The Manuscript.</h1>
{% if forloop.first %}
<li></li> {# Empty element for the left side #}
{% endif %}
{% for image in document.attached_images.first %}
{% for image in document.attached_images.all %}
<li class="flex space-x-4">
<a href="{% url 'manuscript_page' document.id %}">
<img src="{{ image.image.url }}" alt="Document Image" load="lazy">
Expand Down

0 comments on commit faaa68e

Please sign in to comment.