{% load crispy_forms_tags %} {% with request.user.contributor.is_currently_available as is_currently_available %}
Your Availability:  {% if is_currently_available %}you are marked as currently available{% else %}you are marked as currently unavailable{% endif %}

Unavailability periods

To help with the editorial workflow, you can inform us of any periods during which you are unavailable. We will do our best to respect these. These are the ones we have on our records:

{% for unav in request.user.contributor.unavailability_periods.future %} {% empty %} {% endfor %}
Start (YYYY-MM-DD) End
{{ unav.start }} {{ unav.end }} {% include 'bi/x-square-fill.html' %}
No upcoming unavailability periods on record

Mark a period as unavailable:

{% crispy form %}
{% endwith %}