Geoffrey-Django/templates/GeoffreyApp/search.html

42 lines
879 B
HTML
Raw Normal View History

{% extends "GeoffreyApp/base.html" %}
{% block content %}
<h4>Search results for {{ search }}...</h4>
{% if player_list %}
<h6>Players</h6>
<ul>
{% for player in player_list %}
<li>
{{ player.name }}
</li>
{% endfor %}
</ul>
{% else %}
{% endif %}
{% if base_list %}
<h6>Bases</h6>
<ul>
{% for base in base_list %}
<li>
{{ base.name }}
</li>
{% endfor %}
</ul>
{% else %}
{% endif %}
{% if shop_list %}
<h6>Shops</h6>
<ul>
{% for shop in shop_list %}
<li>
{{ shop.name }}
</li>
{% endfor %}
</ul>
{% else %}
{% endif %}
{% endblock %}