{% extends 'base.html' %} {% load crispy_forms_tags %} {% block content %}

Request leave{% if worker %} for {{ worker.name }}{% endif %}

Request leave on calendar

{% include 'rota/partials/flatpickr_includes.html' %}

Click a start date then a second date to select a range and prefill the leave form.

{% csrf_token %} {{ form|crispy }}
{% endblock %}