ScoDoc-PE/app/templates/entreprises/form.html

26 lines
669 B
HTML
Raw Normal View History

2021-12-29 14:41:33 +01:00
{# -*- mode: jinja-html -*- #}
2021-12-23 19:28:25 +01:00
{% extends 'base.html' %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block styles %}
{{super()}}
{% 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-02-04 17:12:56 +01:00
<script>
2022-02-11 19:18:01 +01:00
{# pour les formulaires offre #}
var champ_depts = document.getElementById("depts")
if (champ_depts !== null) {
var closest_form_control = champ_depts.closest(".form-control")
closest_form_control.classList.remove("form-control")
}
2022-02-04 17:12:56 +01:00
</script>
2021-12-23 19:28:25 +01:00
{% endblock %}