Geoffrey-Django/templates/GeoffreyApp/player_list.html

17 lines
372 B
HTML

{% extends "GeoffreyApp/base.html" %}
{% block content %}
{% if player_list %}
<ul>
{% for player in player_list %}
<li>
{{ player.name }}
</li>
{% endfor %}
</ul>
{% else %}
<p>There are no players in the database :pepethonk:</p>
{% endif %}
{% endblock %}