{% 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 }} {% 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 %}

{% render_field form.notes class+="form-control" %}
{% if event.riskassessment.event_size == 0 %}
Electrical Checks for ‘Small’ TEC Events <6kVA (approx. 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 %}
{% 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 %} {% include 'partials/checklist_checkbox.html' with formitem=form.pat %}

Tests at first distro

Test Value
Voltage
(cube meter) / V
{{ 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' %}
{% endif %}
{% button 'submit' %}
{% endblock %}