edh-elo/app/templates/games/detail.html
Jack Jackson e4ea529fbe Cosmetic and final-basic functionality
At this point it _should_ be just about usable for folks to poke-around
in, though ugly as sin.
2024-06-09 09:45:56 -07:00

20 lines
541 B
HTML

{% extends "base.html" %}
{% block title %}Game - {{ game.id }}{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
<h2>This is the page for game with id {{ game.id }}, played on date {{ game.date.strftime('%Y-%m-%d') }}</h2>
<h2>Participants</h2>
<ul>
{% for deck in game_deck_names %}
<li><a href="/deck/{{ deck.id }}">{{ deck.owner }} ({{ deck.name }})</a></li>
{% endfor %}
</ul>
{% if game.description %}
<p>The description of the game is: {{ game.description }}</p>
{% endif %}
{% endblock %}