2021-12-29 14:41:33 +01:00
|
|
|
{# -*- mode: jinja-html -*- #}
|
2021-12-24 10:59:02 +01:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% import 'bootstrap/wtf.html' as wtf %}
|
|
|
|
|
|
|
|
{% block styles %}
|
|
|
|
{{super()}}
|
|
|
|
<link type="text/css" rel="stylesheet" href="/ScoDoc/static/css/autosuggest_inquisitor.css" />
|
|
|
|
<script src="/ScoDoc/static/libjs/AutoSuggest.js"></script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
|
|
|
<h1>{{ title }}</h1>
|
|
|
|
<br>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4">
|
|
|
|
{{ wtf.quick_form(form, novalidate=True) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-31 18:22:54 +01:00
|
|
|
|
2021-12-24 10:59:02 +01:00
|
|
|
<script>
|
|
|
|
window.onload = function(e) {
|
|
|
|
var responsables_options = {
|
|
|
|
script: "/ScoDoc/entreprises/responsables?",
|
|
|
|
varname: "term",
|
|
|
|
json: true,
|
|
|
|
noresults: "Valeur invalide !",
|
|
|
|
minchars: 2,
|
|
|
|
timeout: 60000
|
|
|
|
};
|
|
|
|
var as_responsables = new bsn.AutoSuggest('responsable', responsables_options);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|