{% block extends %} {{ "{% extends '::base.html.twig' %}" }} {% endblock extends %} {% block body %} {{ "{% 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 %}
---|