{% extends 'forms/' ~ layout|default('field') ~ '.html.twig' %} {% set value = value ?: (scope ~ name)|split('.')|slice(-2, -1)|first %} {% block input %} {% endblock %}