MonScoDocEssai/app/templates/entreprises/form.html

26 lines
770 B
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>{{ title }}</h1>
<br>
<div class="row">
<div class="col-md-4">
{{ wtf.quick_form(form, novalidate=True) }}
</div>
</div>
<script>
<!-- pour le formulaire ajout offre -->
var element = document.getElementById("depts");
var closest_form_control = element.closest(".form-control")
closest_form_control.classList.remove("form-control")
</script>
{% endblock %}