{% extends 'django_spire/card/title_card.html' %}

{% block card_title %}
    Demo List
{% endblock %}

{% block card_button %}
    {% url 'core_file:demo_form' pk=0 as new_demo_url %}
    {% include 'django_spire/button/primary_button.html' with button_href=new_demo_url button_text='New' button_logo_left='bi bi-plus' %}
{% endblock %}

{% block card_title_content %}
    {% if queryset %}
        {% for demo in demo_list %}
            {% include 'django_spire/file/item/demo_item.html' %}
        {% endfor %}
    {% else %}
        {% include 'django_spire/item/no_data_item.html' %}
    {% endif %}
{% endblock %}
