{% extends "base-admin.html.twig" %} {% block title %}All sections | {{parent()}} {% endblock %} {% block body %}

All sections

Add
{%for entity in sections%} {%endfor%}
#ID Title Description Column 1 Column 2 Column 3 Column 4 Options
{{entity.id}} {{entity.title | raw}} {%if entity.background is not null%} {%endif%} {{entity.description | truncate(255, '...') | raw}} {%if entity.subtitle1 is not null%}
{{entity.subtitle1}}
{%endif%} {%if entity.text1 is not null%}

{{entity.text1 | truncate(75,'...') | raw}}

{%endif%}
{%if entity.subtitle2 is not null%}
{{entity.subtitle2}}
{%endif%} {%if entity.text2 is not null%}

{{entity.text2 | truncate(75,'...') | raw}}

{%endif%}
{%if entity.subtitle1 is not null%}
{{entity.subtitle3}}
{%endif%} {%if entity.text3 is not null%}

{{entity.text3 | truncate(75,'...') | raw}}

{%endif%}
{%if entity.subtitle4 is not null%}
{{entity.subtitle4}}
{%endif%} {%if entity.text4 is not null%}

{{entity.text4 | truncate(75,'...') | raw}}

{%endif%}
Edit
{% endblock %}