roannais-icitoyen: insert select2 in the cell where it's used (#53616)

This commit is contained in:
Frédéric Péters 2021-04-30 15:31:11 +02:00
parent ce92005cc9
commit 6ff73899ca
2 changed files with 3 additions and 7 deletions

View File

@ -18,6 +18,8 @@
{% endspaceless %}
{% endblock %}
<link rel="stylesheet" type="text/css" href="{{eservices_url}}static/js/select2/select2.css">
<script src="{{eservices_url}}static/js/select2/select2.js"></script>
<script>
$(function() {
$('#select-cell-choix-commune')
@ -30,4 +32,4 @@
window.location.href = link;
});
});
</script>
</script>

View File

@ -1,8 +1,2 @@
{% extends "combo/page_template.html" %}
{% load combo gadjo %}
{% block extra_top_head_js %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{{eservices_url}}static/js/select2/select2.css">
<script src="{{eservices_url}}static/js/select2/select2.js"></script>
{% endblock %}