{% extends 'forms/' ~ layout|default('field') ~ '.html.twig' %} {% set editor = gantry.platform.getEditor((scope ~ name)|fieldName, value|join("\n")) %} {% block input %} {% if editor %} {{ editor|raw }} {% else %} {% block reset_field %}{{ parent() }}{% endblock %} {% endif %} {% endblock %}