{% extends 'forms/' ~ layout|default('field') ~ '.html.twig' %} {% set outline = field.outline ?: nested(data, scope ~ field.outline_field) %} {% set particles = field.particles ?: (outline ? gantry.outlines.getParticleInstances(outline, field.particle, false)) %} {% block label %} {{ parent() }}
{{ field.particle }}
{% endblock %} {% block input %}
{% if particles %}
{% for id, particle in particles %} {% endfor %}
{% else %} {{ 'GANTRY5_PLATFORM_NO_INHERITANCE_SELECT_OUTLINE'|trans }} {% endif %}
{% endblock %}