Geoffrey-Django/templates/GeoffreyApp/shop_list.html

19 lines
437 B
HTML
Raw Normal View History

{% extends "GeoffreyApp/base.html" %}
{% block content %}
<h1>Shops</h1>
2018-12-15 21:12:17 +00:00
{% if shop_list %}
<ul>
{% for shop in shop_list %}
<li>
{{ shop.name }} {{ shop.owner }} {{ shop.x_coord }} {{ shop.z_coord }}
</li>
{% endfor %}
</ul>
{% else %}
<p>There are no shops in the database :pepethonk:</p>
{% endif %}
{% endblock %}