18 lines
426 B
HTML
18 lines
426 B
HTML
{% extends 'index.html' %}
|
|
{% load static %}
|
|
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
|
|
|
{% block content %}
|
|
{% if offer_list %}
|
|
{% for Offer in offer_list %}
|
|
|
|
<ul>
|
|
<li> <a href ="{{ Offer.get_absolute_url}}"> <h1> {{ Offer.title}} </h1> </a>
|
|
{{ Offer.category }} {{ Offer.price }} {{ Offer.created_by }} </li>
|
|
|
|
</ul>
|
|
|
|
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endblock %} |