{% extends "forms/field.html.twig" %} {% macro spanToggle(input, length) %} {% set space = repeat(' ', (length - input|length) / 2) %} {{ (space ~ input ~ space)|raw }} {% endmacro %} {% import _self as macro %} {% set has_hidden = false %} {% for key, text in field.options %} {% if key is empty %} {% set has_hidden = true %} {% endif %} {% endfor %} {% block global_attributes %} {{ parent() }} data-grav-field-name="{{ (scope ~ field.name)|fieldName }}" {% endblock %} {% block input %}
{% endblock %}