Geoffrey-Django/templates/GeoffreyApp/itemlisting_list.html

18 lines
448 B
HTML

{% extends "GeoffreyApp/base.html" %}
{% block content %}
<h1>Items</h1>
{% if itemlisting_list %}
<ul>
{% for item in itemlisting_list %}
<li>
{{ item.item_name}} {{ item.amount }} for {{ item.price }}D
</li>
{% endfor %}
</ul>
{% else %}
<p>There are no items for sale in the database :pepethonk:</p>
{% endif %}
{% endblock %}