From 6de3cb5d8cb6bb998422ad1f9ca34f6654cf9af5 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Thu, 2 Sep 2021 12:11:05 +0100 Subject: [PATCH] Allow filling out of electrical checks for large events --- RIGS/templates/event_checklist_form.html | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/RIGS/templates/event_checklist_form.html b/RIGS/templates/event_checklist_form.html index 6cb89b4a..fd5023ed 100644 --- a/RIGS/templates/event_checklist_form.html +++ b/RIGS/templates/event_checklist_form.html @@ -244,12 +244,19 @@ - {% elif event.riskassessment.event_size == 1 %} + {% else %}
+ {% if event.riskassessment.event_size == 1 %}
Electrical Checks for ‘Medium’ TEC Events
+ {% else %} +
+
Electrical Checks for ‘Large’ TEC Events
+
+
Here be dragons. Ensure you have appeased the Power Gods before continuing... (If you didn't check with a Supervisor, you cannot continue your event!)
+ {% endif %} {% include 'partials/checklist_checkbox.html' with formitem=form.source_rcd %} {% include 'partials/checklist_checkbox.html' with formitem=form.labelling %} {% include 'partials/checklist_checkbox.html' with formitem=form.earthing %} @@ -339,17 +346,6 @@
- {% else %} -
-
-
-
Electrical Checks for ‘Large’ TEC Events
-
-

Outside the scope of this assessment. I really hope you checked with a supervisor...

-
-
-
-
{% endif %}