{% extends 'training_template.html' %}
{% load lesson_extras %}

{% block training_content %}
    <div class="row">
        <div class="col-md-12">
            <h1>Trainee Groups</h1>
            <h2>{{ tg }}</h2>

            <p>
                <a href="/training/groups/" class="btn btn-secondary alignright">
                    <i class="fa fa-chevron-left"></i> Done
                </a>
                <a href="{% url 'xsd_training:TraineeGroupProgress' %}?tg={{ tg.pk }}"
                   class="btn btn-secondary alignright">
                    <i class="fa fa-flag-checkered"></i> Progress Report
                </a>
                <a href="{% url 'xsd_training:TraineeGroupHistory' tg.pk %}" class="btn btn-secondary alignright">
                    <i class="fa fa-history"></i> History
                </a>
                <a href="{% url 'xsd_training:TraineeGroupDelete' tg.pk %}" class="btn btn-danger alignleft">
                    <i class='fa fa-remove'></i> Delete Group
                </a>
            </p>

            {% include 'xsd_training/components/trainee_table.html' %}

            <h4>Add Trainees</h4>
            {% include 'base/bulk_select_members.html' %}

        </div>
    </div>
{% endblock %}
