{% 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' %}
{% 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 %}
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" %}
{% button 'submit' %}
{% endblock %}