barbacompta/eo_gestion/eo_facture/templates/tag_widget.html

8 lines
184 B
HTML

{% load gadjo %}{% include "django/forms/widgets/select.html" %}
<script>
jQuery(document).ready(function () {
$('#{{ widget.attrs.id }}').select2({tags: true});
})
</script>