forked from ScoDoc/ScoDoc
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
{# -*- mode: jinja-html -*- #}
|
|
{% 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>Envoyer une offre</h1>
|
|
<br>
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<p>
|
|
(*) champs requis
|
|
</p>
|
|
{{ wtf.quick_form(form, novalidate=True) }}
|
|
</div>
|
|
</div>
|
|
|
|
<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_1 = new bsn.AutoSuggest('responsable_1', responsables_options);
|
|
var as_responsables_2 = new bsn.AutoSuggest('responsable_2', responsables_options);
|
|
var as_responsables_3 = new bsn.AutoSuggest('responsable_3', responsables_options);
|
|
}
|
|
</script>
|
|
{% endblock %} |