Files
Projet13/templates/lettings_index.html
2020-07-29 08:15:11 +01:00

17 lines
454 B
HTML

<title>Lettings</title>
<h1>Lettings</h1>
{% if lettings_list %}
<ul>
{% for letting in lettings_list %}
<li>
<a href="{% url 'letting' letting_id=letting.id %}">
{{ letting.title }}
</a>
</li>
{% endfor %}
</ul>
{% else %}
<p>No lettings are available.</p>
{% endif %}
<div><a href="{% url 'index' %}">Home</a></div>
<div><a href="{% url 'profiles_index' %}">Profiles</a></div>