Amélioration choix
This commit is contained in:
parent
2da854545f
commit
524d178055
@ -130,7 +130,6 @@ Duplication de {% else %}
|
|||||||
delimiter: ',',
|
delimiter: ',',
|
||||||
removeItemButton: true,
|
removeItemButton: true,
|
||||||
shouldSort: true,
|
shouldSort: true,
|
||||||
callbackOnCreateTemplates: () => (show_firstgroup)
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -100,7 +100,6 @@
|
|||||||
delimiter: ',',
|
delimiter: ',',
|
||||||
removeItemButton: true,
|
removeItemButton: true,
|
||||||
shouldSort: true,
|
shouldSort: true,
|
||||||
callbackOnCreateTemplates: () => (show_firstgroup)
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<script src="{% url 'jsi18n' %}"></script>
|
<script src="{% url 'jsi18n' %}"></script>
|
||||||
<script src="/static/admin/js/vendor/jquery/jquery.js"></script>
|
<script src="/static/admin/js/vendor/jquery/jquery.js"></script>
|
||||||
<script src="/static/admin/js/jquery.init.js"></script>
|
<script src="/static/admin/js/jquery.init.js"></script>
|
||||||
|
<script src="{% static 'choicejs/choices.min.js' %}"></script>
|
||||||
<script>window.CKEDITOR_BASEPATH = '/static/ckeditor/ckeditor/';</script>
|
<script>window.CKEDITOR_BASEPATH = '/static/ckeditor/ckeditor/';</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
@ -30,4 +31,9 @@
|
|||||||
</form>
|
</form>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const places = document.querySelector('#id_principal_place');
|
||||||
|
const choices_places = new Choices(places);
|
||||||
|
</script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user