{% if application.description %}
{{ application.description|linebreaks }}
{% endif %}
{% if application.users_group_requested in request.user.groups.all %}
{% elif not request.user.is_authenticated %}
You must be logged in to request access.
{% else %}
{% endif %}
You do not have permission to access this resource.
{% if not request.user.is_authenticated %}
You must be logged in to request access.
{% elif request.user in application.users_group_requested.user_set.all %}
Please wait for your request to be approved.
{% else %}
You may request access using the 'Request Access' button.
{% endif %}