Created
December 5, 2019 08:20
-
-
Save DeaVenditama/b161582ce63dcf72e108f9ecb30227c3 to your computer and use it in GitHub Desktop.
views/layouts/content.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use yii\widgets\Breadcrumbs; | |
use dmstr\widgets\Alert; | |
?> | |
<div class="content-wrapper"> | |
<?= | |
Breadcrumbs::widget( | |
[ | |
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], | |
] | |
) ?> | |
<section class="content"> | |
<?= Alert::widget() ?> | |
<?= $content ?> | |
</section> | |
</div> | |
… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment