draggable-dashboard-view.html.twig in Draggable dashboard 8.2
<div{{ attributes.addClass('draggable-dashboard').setAttribute('data-id', dashboard.id) }}>
{% set column_num = columns|length %}
{% for column in columns %}
<div class="draggable-dashboard-column col-{{ 12 / column_num }}" id="column-{{ loop.index }}" data-id="{{ loop.index }}">
{% for block in column %}
{{ block }}
{% endfor %}
</div>
{% endfor %}
</div>
File
templates/draggable-dashboard-view.html.twig
View source
- <div{{ attributes.addClass('draggable-dashboard').setAttribute('data-id', dashboard.id) }}>
- {% set column_num = columns|length %}
- {% for column in columns %}
- <div class="draggable-dashboard-column col-{{ 12 / column_num }}" id="column-{{ loop.index }}" data-id="{{ loop.index }}">
- {% for block in column %}
- {{ block }}
- {% endfor %}
- </div>
- {% endfor %}
- </div>