{% block pipe_diagram_pages %}
{% for page in diagram_pages %}
{% if loop.index > 1 %}
<div style="page-break-before: always;">
  <div class="wrapper">
    {% set title = "Sewer CCTV Inspection Report / Inspection: Sewer ID: " ~ (inspection.header.pipe.pipeline_length_reference if inspection.header.pipe.pipeline_length_reference else "") %}
    {% set border_bottom = true %}
    {% include "wrc/mainline/page_title.html" %}
    <div class="container" style="height: 8.6in;">
      {% include "wrc/mainline/inspection_report_header.html" %}
      <div class="mt-1">
        {% with page=page %}
          {% set extra_space_before_diagram = true %}
          {% include "wrc/mainline/pipe_diagram.html" %}
        {% endwith %}
      </div>
    </div>
  </div>
</div>
{% endif %}
{% endfor %}
{% endblock %}