<div class="tab_wrapper loc_tab">
    <h2 class="sec_title text-uppercase color-primary fw-bold text-center mb-5">
        My Locations
        <img src="<?php echo e(url('')); ?>/assets/web/images/title_line.svg" class="d-block m-auto" alt=""/>
    </h2>
    <?php $__currentLoopData = $locations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="loc_card col-md-11">
            <div class="heading in-flex">
                <div class="inFlex">
                    <span class="icon-outer">
                        <i class="fas fa-map-marker-alt"></i>
                    </span>
                    <h5 class="title mb-0"><b> <?php echo e($key+1); ?> <?php echo e(__('web.address')); ?>  </b></h5>
                </div>
                <div class="butns inFlex justify-content-end">
                    <button onclick="locationForm(this)" target-id="<?php echo e(route('profile.location.edit',$row->id)); ?>" class="card_butn edit" data-bs-toggle="modal" data-bs-target="#editLocModal">Edit</button>
                    <button onclick="deleteLocation(this)" target-id="<?php echo e(route('profile.location.delete',$row->id)); ?>" class="card_butn delete">Delete</button>
                </div>
            </div>
            <div class="card-body inFlex">
                <span class="icon-outer">
                    <img src="<?php echo e(url('')); ?>/assets/web/images/icons/home.png" alt="" class="icon"/>
                </span>
                <div class="content">
                    <h6 class="country"> <?php echo e($row->country->descriptions()->name); ?> - <?php echo e($row->city->descriptions()->name); ?></h6>
                    <p class="color-gray2 mb-0"> <?php echo e($row->address); ?>  </p>
                </div>
            </div>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <button class="butn primary_butn m-auto mt-5" type="button" data-bs-toggle="modal" onclick="locationForm(this)" target-id="<?php echo e(route('profile.location.create')); ?>" data-bs-target="#editLocModal"> Add new Location      </button>
</div>
<?php /**PATH /Applications/MAMP/htdocs/city/resources/views/web/pages/profile/components/locations/index.blade.php ENDPATH**/ ?>