{% block extends %} {{ "{% extends 'base.html.twig' %}" }} {% endblock extends %} {% block body %} {{ "{% block body %}" }}

{{ entity_pluralized|capitalize }} list

{%- for field, metadata in fields %} {%- endfor %} {{ '{% for ' ~ entity_singularized ~ ' in ' ~ entity_pluralized ~ ' %}' }} {%- for field, metadata in fields %} {%- if loop.first and ('show' in actions) %} {%- elseif metadata.type in ['datetime'] %} {%- elseif metadata.type in ['date'] %} {%- elseif metadata.type in ['time'] %} {%- elseif metadata.type in ['array'] %} {%- elseif metadata.type in ['boolean'] %} {%- else %} {%- endif %} {%- if loop.last %} {%- endif %} {%- endfor %} {{ '{% endfor %}' }}
{{ field|capitalize }}Actions
{{ '{{ ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ ' }}' }}{{ '{% if ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ ' %}{{ ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ '|date(\'Y-m-d H:i:s\') }}{% endif %}' }}{{ '{% if ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ ' %}{{ ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ '|date(\'Y-m-d\') }}{% endif %}' }}{{ '{% if ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ ' %}{{ ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ '|date(\'H:i:s\') }}{% endif %}' }}{{ '{% if ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ ' %}{{ ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ '|join(\', \') }}{% endif %}' }}{{ '{% if ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ ' %}Yes{% else %}No{% endif %}' }}{{ '{{ ' ~ entity_singularized ~ '.' ~ field|replace({'_': ''}) ~ ' }}' }}
    {%- for action in record_actions %}
  • {{ action }}
  • {%- endfor %}
{% if 'new' in actions -%} {%- endif %} {{ "{% endblock %}" }} {% endblock body %}