{% extends 'base.html' %} {% block content %}

View Items

{% if request.user.is_authenticated %} Your Items All Items
{% for field in search_form %}
{{ field.errors }} {{ field.label_tag }} {{ field }} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %}
{% endfor %}
{% endif %}
{% if items %} {% for item in items %} {% endfor %}
ID Whereabouts Name List Date Asking Price (XMR)
#{{ item.id }} {{ item.whereabouts }} {{ item.name }} {{ item.list_date | date:"d M, Y H:i:s" }} {{ item.ask_price_xmr }}
{% else %}

No results from the search. Try again!

{% endif %}
{% if items.has_other_pages %} {% endif %} {% endblock %}