{% extends "base.html" %} {% block title %}{{rt}}{% endblock %} {% block content %} {% include "navigation.html" %} {% for categorie, valeur in data.items() %} {% endfor %}
{{categorie.capitalize()}} {%- if categorie == "composantes" or categorie == "situations" -%}
    {% for valeur in valeur %}
  • {{valeur}}
  • {% endfor %}
{% elif categorie == "niveaux" -%}
    {% for nom, acs in valeur.items() %}
  • {{nom}}
    • {% for ac in acs %} {% if ac[:2] == "AC" %}
    • {{ac}} - {{acs[ac]}}
    • {% else %}
    • {{ac}}
    • {% endif %} {% endfor %}
    {% endfor %}
{% else -%}
{{valeur}}
{% endif %}
{% include "navigation.html" %} {% endblock %}