Commit ab78e69f authored by Ciella Francisco's avatar Ciella Francisco 😵

Edited event-details.html to show all related promo images for an event

parent dba9618b
...@@ -3,6 +3,13 @@ ...@@ -3,6 +3,13 @@
{% block title %}Widget's Forum{% endblock %} {% block title %}Widget's Forum{% endblock %}
{% block content %} {% block content %}
<img src="{{ object.event_header.url }}" width = '300'/> <img src="{{ object.event_header.url }}" width = '300'/>
<p><a href='{{ object.get_absolute_url }}'>{{ object }}</a></p> <p>{{ object }}</p>
<p>{{ object.event_organizer }}</p> <p>{{object.event_description}}</p>
<p>{{object.event_datetime_start}}</p>
<p>{{object.event_datetime_end}}</p>
<p>{{object.event_organizer }}</p>
<p>{{object.last_time_bumped}}</p>
{% for promo in object.promos.all %}
<img src="{{ promo.img.url }}"/>
{% endfor %}
{% endblock %} {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment