{% extends 'index.html' %}
{% load static %}
{% block content %}
{% if active_offers_list %}
{% for Offer in active_offers_list %}
{{ Offer.title}}
{{ Offer.category }} {{ Offer.price }} {{ Offer.created_by }}
{% for photo in Offer.images.all %}
{% if photo.main_image == True%}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
{% endblock %}