Improve upload form usability: clearer date and tag fields

This commit is contained in:
krek0 2026-04-22 17:55:25 +02:00
parent d5996e00ea
commit f1f7cd91d4
7 changed files with 24 additions and 6 deletions

View file

@ -8,7 +8,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% block title %}{% trans "Upload" %}{% endblock %}
{% block extrajs %}
<script src="{% static 'upload.js' %}"></script>
<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 #}
{% endblock %}
{% block content %}