You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
914 B

<?PHP
use yii\widgets\Breadcrumbs;
?>
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<?php if (!empty($this->title)): ?>
<h1><?= $this->title ?><?php if (isset($this->params['subtitle'])): ?>
<small><?= $this->params['subtitle'] ?></small><?php endif ?></h1>
<?php endif ?>
</div>
<div class="col-sm-6">
<?php
echo Breadcrumbs::widget([
'tag' => 'ol',
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
'itemTemplate' => "<li class='breadcrumb-item'>{link}</li>\n",
'activeItemTemplate' => "<li class=\"breadcrumb-item active\">{link}</li>\n",
'options' => ['class' => 'breadcrumb float-sm-right']
]);
?>
</div>
</div>