{% extends "base.html" %} {% block title %}Accueil{% endblock %} {% block content %} {% if form.fichier.errors|length != 0 %}
{% for error in form.fichier.errors %}

{{error}}

{% endfor %}
{% endif %}
{% for semestre in semestres %}

Semestre {{ semestre.num }}

{% endfor %}
{{ form.hidden_tag() }}
{% if not semestres %} {{ form.ajouter(class="button") }} {{ form.reset(class="button is-static") }} {% else %} {{ form.ajouter(class="button is-static") }} {{ form.reset(class="button") }} {% endif %} {{ form.exporterJSON(class="button") }} {{ form.exporterYAML(class="button") }}
{% endblock %}