{# -*- mode: jinja-html -*- #}
{% extends 'base.j2' %}
{% import 'wtf.j2' as wtf %}

{% block styles %}
{{super()}}
<link rel="stylesheet" href="/ScoDoc/static/libjs/autoComplete.js-10.2.7/dist/css/autoComplete.02.css">
{% endblock %}

{% block app_content %}
<h1>{{ title }}</h1>
<br>
<div class="row">
    <div class="col-md-3">
        <p>
            (*) champs requis
        </p>
        {{ wtf.quick_form(form, novalidate=True) }}
    </div>
</div>
{% endblock %}

{% block scripts %}
{{super()}}
<script src="/ScoDoc/static/libjs/autoComplete.js-10.2.7/dist/autoComplete.min.js"></script>
<script src="/ScoDoc/static/js/etud_autocomplete.js"></script>
<script>
    const autoCompleteJS = new autoComplete(etud_autocomplete_config(with_dept = true));
</script>
{% endblock %}
