er">
        <div class="animate-spin rounded-full h-8 w-8 border-b-2 border-indigo-500"></div>
      </div>
    </div>
  </div>
{% endblock content %}

{% block js %}
  {{ form.media.js }}

  <script>
    const mediaTypeLabels = {
      {% for media_type in media_types %}'{{ media_type }}': '{{ media_type|media_type_readable_plural }}',{% endfor %}
      'all': 'All Types'
    };
  </script>
{% endblock js %}
