{% set headerContent %}
{% block stylesheets %}
{% endblock %}
{% block javascript %}
{% endblock %}
{% endset %}
{% do parse_assets(headerContent) %}

{% set footerContent %}
{% block javascript_footer %}
{% endblock %}
{% endset %}
{% do parse_assets(footerContent, 'footer') %}

{% 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 %}
                {% endblock %}
                />
    {% endblock %}
{% endblock %}
