{% import "toolkit/summary-table.html" as summary %}

{% for section in service.summary_manifest %}
  {% if not section.is_empty %}
    <div class="scroll-tracking" id="{{ service.lot.slug }}-{{ section.slug }}">
      {{ summary.heading(section.name, id=section.slug) }}

      {% call(question) summary.list_table(
        section.questions,
        caption=section.name,
        field_headings_visible=False
      ) %}
        {% if not question.is_empty %}
          {% call summary.row() %}
            {{ summary.field_name(question.label) }}
            {% with item_value = summary[question.type](question.filter_value|capitalize_first, question.assurance) %}
              {{ (item_value | preserve_line_breaks) if question.type == 'textbox_large' else item_value }}
            {% endwith %}
          {% endcall %}
        {% endif %}
      {% endcall %}
    </div>
  {% endif %}
{% endfor %}

{% import "toolkit/summary-table.html" as summary %}

{% for section in service.summary_manifest %}
  {% if not section.is_empty %}
    <div class="scroll-tracking" id="{{ loop.index }}-{{ section.slug }}">
      {{ summary.heading(section.name, id=section.slug) }}

      {% call(question) summary.list_table(
        section.questions,
        caption=section.name,
        field_headings_visible=False
      ) %}
        {% if not question.is_empty %}
          {% call summary.row() %}
            {{ summary.field_name(question.label) }}
            {% with item_value = summary[question.type](question.filter_value|capitalize_first, question.assurance) %}
              {{ (item_value | preserve_line_breaks) if question.type == 'textbox_large' else item_value }}
            {% endwith %}
          {% endcall %}
        {% endif %}
      {% endcall %}
    </div>
  {% endif %}
{% endfor %}

Add numbers to sections ids for tracking
Add numbers to sections ids for tracking
