feat: Add images to adoption notice detail view
This commit is contained in:
parent
05d56e278d
commit
f030083266
@ -37,6 +37,12 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</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">
|
<div class="card">
|
||||||
<h1>{% translate "Beschreibung" %}</h1>
|
<h1>{% translate "Beschreibung" %}</h1>
|
||||||
<p>{% if adoption_notice.description %}
|
<p>{% if adoption_notice.description %}
|
||||||
|
Loading…
Reference in New Issue
Block a user