|
|
@ -9,18 +9,18 @@
|
|
|
|
{% if request.user.is_authenticated %}
|
|
|
|
{% if request.user.is_authenticated %}
|
|
|
|
<a href="{% url 'list_items' %}?mine=true" class="button">Your Items</a>
|
|
|
|
<a href="{% url 'list_items' %}?mine=true" class="button">Your Items</a>
|
|
|
|
<a href="{% url 'list_items' %}" class="button alt">All Items</a>
|
|
|
|
<a href="{% url 'list_items' %}" class="button alt">All Items</a>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
<form method="GET" enctype="multipart/form-data" action="">
|
|
|
|
<form method="GET" enctype="multipart/form-data" action="">
|
|
|
|
{% for field in search_form %}
|
|
|
|
{% for field in search_form %}
|
|
|
|
<div class="fieldWrapper">
|
|
|
|
<div class="fieldWrapper">
|
|
|
|
{{ field.errors }}
|
|
|
|
{{ field.errors }}
|
|
|
|
{{ field.label_tag }} {{ field }}
|
|
|
|
{{ field.label_tag }} {{ field }}
|
|
|
|
{% if field.help_text %}
|
|
|
|
{% if field.help_text %}
|
|
|
|
<p class="help">{{ field.help_text|safe }} <i class="fa fa-search"></i></p>
|
|
|
|
<p class="help">{{ field.help_text|safe }}</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</header>
|
|
|
|
</header>
|
|
|
|
<div id="item-search"></div>
|
|
|
|
<div id="item-search"></div>
|
|
|
|
{% if items %}
|
|
|
|
{% if items %}
|
|
|
|