{% extends 'rcr/base.html' %}

{% load auth_extras %}
{% block content %}


    <h2>Assign items to {{user_to_assign}}</h2>

    <details>
        <summary>Filter</summary>
        <form method="get">
            {{ item_filter.form.as_p }}
            <input type="submit" />
        </form>
    </details>

    {% if request.user|has_group:"rcr_radiology_assessor" %}
        Radiology
    {% elif request.user|has_group:"rcr_oncology_assessor" %}
        Oncology
    {% endif %}
    assessor.<br/>

    <form action="" method="post" enctype="multipart/form-data" id="assessor-assignment-form">
        {% csrf_token %}
        {{assessor_assignment_form}}

        <input type="submit" class="submit-button" value="Submit" name="submit">
    </form>

{% endblock %}