diff --git a/djangorota/djangorota/templates/rota/worker_detail.html b/djangorota/djangorota/templates/rota/worker_detail.html index 1123ff1..c81f236 100644 --- a/djangorota/djangorota/templates/rota/worker_detail.html +++ b/djangorota/djangorota/templates/rota/worker_detail.html @@ -1,68 +1,62 @@ +{% extends 'base.html' %} {% load crispy_forms_tags static %} - -
-Select a date or drag to select a range to request leave.
-{{ worker.email }} - {{ worker.site }}
+{% block content %} +← Back to rota: {{ back_rota.name }}
- {% endif %} - {% endwith %} - -Click a start date then a second date to select a range and prefill the leave form.
← Back to rota: {{ back_rota.name }}
+ {% endif %} + {% endwith %} + + + +