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