<div class="bulk-add-result">
    {% if error %}
        <div class="alert alert-danger">Error: {{ error }}</div>
    {% else %}
        <p>Added user groups to {{ total_user }} exams.</p>
        <p>Added CID groups to {{ total_cid }} exams.</p>
    {% endif %}
    <div class="mt-2">
        <button class="btn btn-sm btn-outline-primary" hx-get="{% url 'generic:exam_collection_bulk_add_groups' collection.pk %}" hx-target="#bulk-add-groups" hx-swap="innerHTML">Add more</button>
    </div>
</div>
