{% import '../../macros.twig' as macros %}

<div>
    <input type="hidden" name="{{ 'sortOrder'|ns }}" value="{{ sortOrder }}" data-neo-gs="input.sortOrder">

    <div>
        {{ macros.input({
            type: 'text',
            id: 'name'|ns('id'),
            name: 'name'|ns,
            label: "Name"|t,
            instructions: "This can be left blank if you just want an unlabeled separator."|t,
            value: name,
            attributes: {
                'data-neo-gs': 'input.name'
            }
        }) }}
    </div>

    <hr>

    <a class="error delete" data-neo-gs="button.delete">{{ "Delete group"|t }}</a>
</div>
