
<div class="item-section-inner item-section-title">
    <h2 class="item-section-title-text">{{ __('shop::app.customer.account.wishlist.title') }}</h2>
    
    @if (count($items))
        <div class="account-action">
            <form id="remove-all-wishlist" action="{{ route('customer.wishlist.removeall') }}" method="POST">
                @method('DELETE')

                @csrf
            </form>

            <a
                href="javascript:void(0);"
                onclick="document.getElementById('remove-all-wishlist').submit();">
                <img src="{{bagisto_asset('icons/trash.svg') }}" alt="remove">
                {{ __('shop::app.customer.account.wishlist.deleteall') }}
            </a>
        </div>
    @endif

    <div class="item-section-view">
        <a href="{{$toolbarHelper->getModeUrl('list')}}" class="item-section-view-img-1 @if ($toolbarHelper->isModeActive('list')) view-active @endif">
            <svg class="rows @if ($toolbarHelper->isModeActive('list')) icon-active @endif">
                <use xlink:href="#rows"></use>
            </svg>
        </a>
        <a  href="{{$toolbarHelper->getModeUrl('grid')}} "class="item-section-view-img-2 @if ($toolbarHelper->isModeActive('grid')) view-active @endif" >
            <svg class="cubes @if ($toolbarHelper->isModeActive('grid')) icon-active @endif">
                <use xlink:href="#cubes"></use>
            </svg>
        </a>
    </div>
</div>

<div class="horizontal"></div>

