<div class="row">
    <div class="col-12">
        <div class="page-title-box">
            <h4 class="page-title"><?php echo e($pageTitle ?? ''); ?></h4>
            <?php if(!empty($websitePicker)): ?>
            <div class="pull-right p-0 m-0">
                <?php
                    $websites = \App\Models\Website\Website::get();
                ?>
                <?php if($websites->count() > 1): ?>
                    <?php if(isset($showRootSiteName) && $showRootSiteName): ?>
                    <a 
                        href="<?php echo e(route($routeName, ['activeWebsite' => 'main'])); ?>" 
                        class="btn waves-effect waves-light mr-2 mb-1 <?php echo e(/*primer za aktivan i neaktivan sajt*/($activeWebsite == 'main') ? 'btn-success' : 'btn-danger'); ?>">
                        <?php if(isset($rootSiteName)): ?> <?php echo e($rootSiteName); ?> <?php else: ?> Osnovne kategorije <?php endif; ?>
                    </a>
                    <?php endif; ?>
                    <?php $__currentLoopData = $websites; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $website): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                        $activeWebsite = ($activeWebsite === '0') ? 1 : $activeWebsite;
                    ?>
                        <a 
                            href="<?php echo e(route($routeName, ['activeWebsite' => $website->id])); ?>" 
                            class="btn waves-effect waves-light mr-2 mb-1 <?php echo e(/*primer za aktivan i neaktivan sajt*/($activeWebsite == $website->id) ? 'btn-success' : 'btn-danger'); ?>">
                            <?php echo e($website->short_title); ?>

                        </a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
            </div>
            <?php elseif(!empty($breadcrumbs)): ?>
            <ol class="breadcrumb p-0 m-0">
                <?php $__currentLoopData = $breadcrumbs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $breadcrumbUrl => $breadcrumbTitle): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li>
                    <a href="<?php echo e($breadcrumbUrl); ?>"><?php echo e($breadcrumbTitle); ?></a>
                </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <li class="active"><?php echo e($pageTitle ?? ''); ?></li>
            </ol>
            <?php endif; ?>
            <div class="clearfix"></div>
        </div>
    </div>
</div><?php /**PATH /opt/cms/resources/views/_layout/partials/breadcrumbs.blade.php ENDPATH**/ ?>