<div class="toolbar thin">
    <a class="i-button" ng-click="addItem()">{{ 'Create new item' | i18n }}</a>
    <a class="i-button" ng-click="sortItems()">{{ 'Sort alphabetically' | i18n }}</a>
    <div class="group i-selection">
        <div class="inline-vcentered">
            <input type="checkbox" id="withExtraSlots-{{ field.id }}" name="withExtraSlots"
                   ng-model="formData.withExtraSlots">

            <label class="i-button" for="withExtraSlots-{{ field.id }}">
                {{ 'Advanced options' | i18n }}
            </label>
        </div>
    </div>
</div>

<nd-table
    config="settings.editionTable"
    form-data="formData.radioitems">
</nd-table>

<div ng-if="validationStarted && !hasRadioItems()" class="error-message-tag">
    {{ 'Add at least one item' | i18n }}
</div>

<div class="toolbar thin">
    <a class="i-button" ng-click="addItem()">{{ 'Create new item' | i18n }}</a>
    <a class="i-button" ng-click="sortItems()">{{ 'Sort alphabetically' | i18n }}</a>
    <div class="group i-selection">
        <div class="inline-vcentered">
            <input type="checkbox" id="withExtraSlots-{{ field.id == -1 ? field.$$hashKey : field.id }}"
                   name="withExtraSlots" ng-model="formData.withExtraSlots">

            <label class="i-button" for="withExtraSlots-{{ field.id == -1 ? field.$$hashKey : field.id }}">
                {{ 'Advanced options' | i18n }}
            </label>
        </div>
    </div>
</div>

<nd-table
    config="settings.editionTable"
    form-data="formData.radioitems">
</nd-table>

<div ng-if="validationStarted && !hasRadioItems()" class="error-message-tag">
    {{ 'Add at least one item' | i18n }}
</div>

Fix bug with 'Advanced options' checkbox
Fix bug with 'Advanced options' checkbox
