{% assets %}
    {% block stylesheets %}
    {% endblock %}

    {% block javascript %}
    {% endblock %}
{% endassets -%}

{% assets in 'footer' %}
    {% block javascript_footer %}
    {% endblock %}
{% endassets -%}

{% set name = (name is null ? field.name : name) -%}
{% set value = (value is null ? field.default : value) -%}

{% block group %}
    {% block input %}
        <input
                {# required attribute structures #}
                name="{{ (scope ~ name)|fieldName }}"
                value="{{ value|join(', ') }}"
                {# global attribute structures #}
                {% block global_attributes %}
                    {% if field.class is defined %} class="{{ field.class }}" {% endif %}
                    {% if field.id is defined %} id="{{ field.id }}" {% endif %}
                    {% if field.style is defined %} style="{{ field.style }}" {% endif %}
                    {% if field.title is defined %} title="{{ field.title }}" {% endif %}
                    {% if field.override_target is defined %} data-override-target="{{ field.override_target|e('html_attr') }}" {% endif %}
                    aria-label="{{ (scope ~ name)|replace({'.': ' '})|title|trim }}"
                {% endblock %}
                />
    {% endblock %}
{% endblock %}
