{%- extends 'babase.j2' -%} {# -*- Base des pages ordinaires, dans départements -*- #} {% block styles %} {{super()}} {% endblock %} {% block title %} {% if title %}{{ title }} - ScoDoc{% else %}ScoDoc{% endif %} {% endblock %} {% block content %}
Logo ScoDoc {% block mobileSemestre %} {% endblock mobileSemestre %}
toggle sidebar
{% include "flashed_messages.j2" %} {% if sco.formsemestre %}
{% if sco.formsemestre %} {% block formsemestre_header %} {% include "formsemestre_header.j2" %} {% endblock %} {% endif %}
{% endif %}
{% block app_content %} {{ content | safe }} {% endblock %}
{% endblock %} {% block scripts %} {{ super() }} {% include "sco_timepicker.j2" %} {% endblock %} {% macro render_field_errors(form, field_name) %} {% if form[field_name].errors %}
{% for error in form[field_name].errors %} {{ error }} {% endfor %}
{% endif %} {% endmacro %}