%}
            {{ forms.lightswitchField({
                label: 'New window' | t('cp-nav'),
                instructions: 'Whether to open this page in a new window.' | t('cp-nav'),
                name: 'newWindow',
                on: nav.newWindow,
            }) }}
        {% else %}
            <input type="hidden" name="newWindow" value="{{ nav.newWindow }}" style="display: none;" />
        {% endif %}

        {% set icons = (icons is defined ? icons : []) -%}

        {{ forms.elementSelectField(