roannais-icitoyen: insert select2 in the cell where it's used (#53616)
This commit is contained in:
parent
ce92005cc9
commit
6ff73899ca
|
@ -18,6 +18,8 @@
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
{% endblock %}
|
{% 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>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$('#select-cell-choix-commune')
|
$('#select-cell-choix-commune')
|
||||||
|
@ -30,4 +32,4 @@
|
||||||
window.location.href = link;
|
window.location.href = link;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,8 +1,2 @@
|
||||||
{% extends "combo/page_template.html" %}
|
{% extends "combo/page_template.html" %}
|
||||||
{% load combo gadjo %}
|
{% 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 %}
|
|
Loading…
Reference in New Issue