{% import '_includes/forms' as forms %}

<div class="fields">
    {{ forms.textField({
        label: 'Label' | t('cp-nav'),
        instructions: 'Choose what you want this menu item to be called' | t('cp-nav'),
        id: 'currLabel',
        name: 'currLabel',
        required: nav.isDivider() ? false : true,
        autofocus: true,
        value: nav.currLabel,
    }) }}

    {% if not nav.isDivider() %}
        {% set prevUrl = (nav.prevUrl) ? nav.prevUrl : nav.url %}

        {{ forms.textField({
  