feat: Add images to adoption notice detail view
This commit is contained in:
@@ -37,6 +37,12 @@
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h1>{% translate "Bilder" %}</h1>
|
||||
{% for photo in adoption_notice.get_photos %}
|
||||
<img src="{{ MEDIA_URL }}/{{ photo.image }}" alt="{{ photo.alt_text }}">
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="card">
|
||||
<h1>{% translate "Beschreibung" %}</h1>
|
||||
<p>{% if adoption_notice.description %}
|
||||
|
Reference in New Issue
Block a user