{% with padding='px-2 py-1' %} {% with color=event.color if event.color %} {% if is_selected %} {% include "/components/row/event-checked-box.html" %} {% else %} {% include "/components/row/event-unchecked-box.html" %} {% endif %} {% endwith %} {% with event=event %} {% include "/components/row/data-cells.html" %} {% endwith %} {% with id=id, color=event.color %} {% include "/components/row/collapse-btn.html" %} {% endwith %} {% endwith %} {% include "/components/accordion/event-details-content.html" %}