{% extends "base.html" %}

{% block "content" %}
  <h1><i class="fa fa-bookmark" aria-hidden="true"></i> {{ category.name }}</h1>

  {% with game_list=category.game_set.all %}
  <p>Il y a {{ game_list|length }} jeu{{ game_list|pluralize:"x" }} dans cette catégorie&nbsp;:</p>
  {% for game in game_list %}
  {% include "./partials/game_item.html" %}
  {% endfor %}
  {% endwith %}
{% endblock %}
