{% set message %}

  {% set content %}
    {% for incident in results %}
      <div class="result-blk">
        <h3 class="blk-sum">{{ incident.summary|raw }}</h3>
        <div class="blk-desc">{{ incident.description|raw }}</div>
      </div>
    {% endfor %}
  {% endset %}

  <div>
    {% include "@molecules/tm-bs/collapse/collapse.twig" with {
      "label": 'More information ',
      "content": content,
      "aiid": "inc-#{random()}" ,
      "toggle": "chevron",
      "level": 'inline',
      "link_class": 'btn btn-sm btn-danger mt-2 chk-serv-toggler'
    } %}
  </div>

{% endset %}

{% set title %}
  <h2 class="h4 msgh"><i class="far fa-exclamation-triangle"></i> Incidents found between {{ from }} and {{ to }}</h2>
{% endset %}
{% embed '@molecules/tm-message/alert/alert.twig' with {
  'status': 'danger',
  'content': title ~ render_var(message),
} only %}
{% endembed %}
