This commit is contained in:
krek0 2026-04-24 10:04:57 +02:00
parent eebe253d0b
commit debf87421f
4 changed files with 54 additions and 7 deletions

View file

@ -8,10 +8,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% block title %}{% trans "Upload" %}{% endblock %}
{% block extrajs %}
<script src="{% url 'javascript-catalog' %}"></script>
<script src="{% static 'jquery-3.6.0.min.js' %}"></script> {# jQuery first #}
{{ form.media }} {# Select2 JS/CSS comes after jQuery #}
<script src="{% static 'upload.js' %}"></script> {# your custom JS last #}
<script src="{% static 'jquery-3.6.0.min.js' %}"></script>
{{ form.media }}
<script src="{% static 'upload.js' %}"></script>
{% endblock %}
{% block content %}