Geoffrey-Django/templates/GeoffreyApp/itemlisting_list.html

17 lines
429 B
HTML

{% extends "GeoffreyApp/base.html" %}
{% block content %}
{% 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 %}