{% import "macros.html" as macros %}
{% extends 'two_column_body.html' %}
{% block title %}{% trans %}Files{% endtrans %}{% endblock %}

{% block sidebar%}
<div class="box">
   <h2><a href="{% url 'files_list' %}">Tous les fichiers :</a></h2>
</div>
{% endblock%}

{% block content %}

{% if formdefs %}
<h1>Formulaires</h1>
{% for file in formdefs %}
<p><a href="{% url file_info file_id=file.id %}">{{ file.title }}</a></p>
{% endfor %}
{% endif %}

{% if workflows %}
<h1>Workflows</h1>
{% for file in workflows %}
<p><a href="{% url file_info file_id=file.id %}">{{ file.title }}</a></p>
{% endfor %}
{% endif %}

{% if themes %}
<h1>Thèmes</h1>
{% for file in themes %}
<p><a href="{% url file_info file_id=file.id %}">{{ file.title }}</a></p>
{% endfor %}
{% endif %}


{% endblock %}
