pcards/templates/cards/list.html

31 lines
481 B
HTML

{% extends 'base.html' %}
{% load inclusion_tags %}
{% load filter_tags %}
{% block main_container %}
<h2>{{ title }}</h2>
{% if tags_list %}
<fieldset>
<legend>Tags</legend>
<ul class="tags content">
{% for tag in tags_list %}
<li><a href="{% url list-by-tag tag.id %}">{{ tag.label }}</a></li>
{% endfor %}
</ul>
</fieldset>
{% endif %}
{% if cards %}
<fieldset>
<legend>Cartes</legend>
{% cards_list_partial cards %}
</fieldset>
{% endif %}
{% endblock %}