src/CoreBundle/Resources/views/Editor/grid.html.twig
{% extends 'APYDataGridBundle::blocks.html.twig' %}
{% block grid_titles %}
{% endblock grid_titles %}
{# ---------------------------------------------------- grid_rows --------------------------------------------------- #}
{% block grid_rows %}
<section class="content">
<section class="container-fluid">
<div class="grid-tools">
{% for row in grid.rows %}
{% set last_row = loop.last %}
{% spaceless %}
{% set gridColumns %}
{% for column in grid.columns %}
{% if column.visible(grid.isReadyForExport) %}
<div class="items-tools {{ column.renderBlockId }} ">
<div class="tools mt-3 mb-3">
{# {% if column.align != 'left'%} align-{{ column.align }}{% endif %}#}
{# {% if loop.last %} last-column{% endif %}#}
{# {% if last_row %} last-row{% endif %}#}
{{ grid_cell(column, row, grid)|raw }}
</div>
</div>
{% endif %}
{% endfor %}
{% endset %}
{{ gridColumns }}
{% endspaceless %}
{% endfor %}
</div>
</section>
</section>
{% endblock grid_rows %}