Feuerwehr-eppingen/storage/framework/views/1a65b1f5e144883264c6422f345ccaec0abeccac.php

28 lines
869 B
PHP

<?php
if(isset($model))
{
$breadcrumbModel = $model;
}
elseif(isset($models))
{
$breadcrumbModel = $models;
}
?>
<?php if(isset($breadcrumbModel)): ?>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<?php $__currentLoopData = Breadcrumb::create($breadcrumbModel); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $crumb): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="breadcrumb-item <?php if($loop->last): ?> active <?php endif; ?>" <?php if($loop->last): ?> aria-current="page" <?php endif; ?>>
<?php if($loop->last): ?>
<?php echo e($crumb->label); ?>
<?php else: ?>
<a href="<?php echo e($crumb->url); ?>"><?php echo e($crumb->label); ?></a>
<?php endif; ?>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ol>
</nav>
<?php endif; ?>