Mes premières dents (les incisives) sur Django...
[progfou.git] / auf_zap / templates / formations / formation_list.html
1 {% extends "formations/base_site.html" %}
2 {% load i18n %}
3
4 {% block main %}
5 <div id="content-main">
6
7 {% if object_list %}
8 <h1>Liste des formations</h1>
9 <ul>
10 {% for formation in object_list %}
11 <li><a href="/formations/{{ formation.id }}">{{ formation }}</a></li>
12 {% endfor %}
13 </ul>
14 {% else %}
15 <p>Aucune formation.</p>
16 {% endif %}
17
18 </div>
19 {% endblock %}