{{ "{% extends '::base.html.twig' %}" }} {{ "{% block body -%}" }}
{{ field|capitalize }} | {%- if metadata.type in ['date', 'datetime'] %}{{ '{{ entity.' ~ field|replace({'_': ''}) ~ '|date(\'Y-m-d H:i:s\') }}' }} | {%- else %}{{ '{{ entity.' ~ field|replace({'_': ''}) ~ ' }}' }} | {%- endif %}
---|