Geoffrey-Django/templates/GeoffreyApp/player_list.html

17 lines
392 B
HTML

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