<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<div class="ui-tabs">
    <ul class="address-list ui-tabs-nav">

        <li class="address-list-item" outereach="elems" css="'ui-state-active': active" click="activate">
            <div class="address-list-item-actions">
                <button class="action-delete" type="button" click="$parent.removeAddress.bind($parent, $data)">
                    <span text="$parent.removeLabel"></span>
                </button>
            </div>
            <render args="previewTpl"></render>
            <div each="getRegion('head')" render=""></div>
        </li>

        <li class="address-list-actions last">
            <button class="scalable add" type="button" click="addChild">
                <span text="addLabel"></span>
            </button>
        </li>
    </ul>

    <div class="address-item-edit" outereach="elems" visible="active">
        <div class="address-item-edit-content">
            <fieldset class="admin__fieldset">
                <legend class="admin__legend">
                    <span text="$parent.label"></span>
                </legend><br />

                <each args="getRegion('body')" render=""></each>
            </fieldset>
        </div>
    </div>
</div>
