{% extends request.is_ajax|yesno:'base_ajax.html,base_rigs.html' %} {% load widget_tweaks %} {% load static %} {% load help_text from filters %} {% load profile_by_index from filters %} {% load button from filters %} {% block css %} {{ block.super }} {% endblock %} {% block preload_js %} {{ block.super }} {% endblock %} {% block js %} {{ block.super }} {% include 'partials/datetime-fix.html' %} {% endblock %} {% block content %}
{% include 'form_errors.html' %} {% if edit %}
{% else %} {% endif %} {% csrf_token %}
Event Information
Event Date
{{ event.start_date}}{%if event.end_date %}-{{ event.end_date}}{%endif%}
Event Name
{{ event.name }}
Client
{{ event.person }}
Event Size
{% include 'partials/event_size.html' with object=event.riskassessment %}
{% if not form.date.value %} {% render_field form.date class+="form-control col-8" value=event.start_date %} {% else %} {% render_field form.date class+="form-control col-8" %} {% endif %}

List vehicles and their drivers

{% for i in object.vehicles.all %} {% endfor %}
Vehicle Driver
Safety Checks
{% include 'partials/checklist_checkbox.html' with formitem=form.safe_parking %} {% include 'partials/checklist_checkbox.html' with formitem=form.safe_packing %} {% include 'partials/checklist_checkbox.html' with formitem=form.exits %} {% include 'partials/checklist_checkbox.html' with formitem=form.trip_hazard %} {% include 'partials/checklist_checkbox.html' with formitem=form.warning_signs %} {% include 'partials/checklist_checkbox.html' with formitem=form.ear_plugs %}
{% render_field form.hs_location class+="form-control col-7 col-md-4" %}
{% render_field form.extinguishers_location class+="form-control col-7 col-md-4" %}
Crew Record
{% for crew in object.crew.all %} {% endfor %}
Person Start Time Role End Time
{% if event.riskassessment.event_size == 0 %}
Electrical Checks for ‘Small’ TEC Events <6kVA (aprox. 26A)
{% include 'partials/checklist_checkbox.html' with formitem=form.rcds %} {% include 'partials/checklist_checkbox.html' with formitem=form.supply_test %} {% include 'partials/checklist_checkbox.html' with formitem=form.earthing %} {% include 'partials/checklist_checkbox.html' with formitem=form.pat %}
{% elif event.riskassessment.event_size == 1 %}
Electrical Checks for ‘Medium’ TEC Events
{% 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 %} {% include 'partials/checklist_checkbox.html' with formitem=form.pat %}

Tests at first distro

Test Value
Voltage
(cube meter)
{{ form.fd_voltage_l1.help_text }} {{ form.fd_voltage_l2.help_text }} {{ form.fd_voltage_l3.help_text }}
{% render_field form.fd_voltage_l1 class+="form-control" style="min-width: 5rem;" %} {% render_field form.fd_voltage_l2 class+="form-control" style="min-width: 5rem;" %} {% render_field form.fd_voltage_l3 class+="form-control" style="min-width: 5rem;" %}
{{form.fd_phase_rotation.help_text|safe}} {% include 'partials/checklist_checkbox.html' with formitem=form.fd_phase_rotation %}
{{form.fd_earth_fault.help_text|safe}} {% render_field form.fd_earth_fault class+="form-control" %}
{{form.fd_pssc.help_text|safe}} {% render_field form.fd_pssc class+="form-control" %}

Tests at 'Worst Case' points (at least 1 point required)

Test Point 1 Point 2 Point 3
{{form.w1_description.help_text|safe}} {% render_field form.w1_description class+="form-control" style="min-width: 5rem;" %} {% render_field form.w2_description class+="form-control" style="min-width: 5rem;" %} {% render_field form.w3_description class+="form-control" style="min-width: 5rem;" %}
{{form.w1_polarity.help_text|safe}} {% render_field form.w1_polarity %} {% render_field form.w2_polarity %} {% render_field form.w3_polarity %}
{{form.w1_voltage.help_text|safe}} {% render_field form.w1_voltage class+="form-control" %} {% render_field form.w2_voltage class+="form-control" %} {% render_field form.w3_voltage class+="form-control" %}
{{form.w1_earth_fault.help_text|safe}} {% render_field form.w1_earth_fault class+="form-control" %} {% render_field form.w2_earth_fault class+="form-control" %} {% render_field form.w3_earth_fault class+="form-control" %}

{% include 'partials/checklist_checkbox.html' with formitem=form.all_rcds_tested %} {% include 'partials/checklist_checkbox.html' with formitem=form.public_sockets_tested %} {% include 'partials/ec_power_info.html' %}
{% else %}
Electrical Checks for ‘Large’ TEC Events

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

{% endif %}
{% button 'submit' %}
{% endblock %}