documentation update + code fixes
This commit is contained in:
@ -21,10 +21,12 @@ use yii\bootstrap\Alert;
|
||||
<div class="col-xs-12">
|
||||
<?php foreach (Yii::$app->session->getAllFlashes() as $type => $message): ?>
|
||||
<?php if (in_array($type, ['success', 'danger', 'warning', 'info'], true)): ?>
|
||||
<?= Alert::widget([
|
||||
'options' => ['class' => 'alert-dismissible alert-'.$type],
|
||||
<?= Alert::widget(
|
||||
[
|
||||
'options' => ['class' => 'alert-dismissible alert-' . $type],
|
||||
'body' => $message,
|
||||
]) ?>
|
||||
]
|
||||
) ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
/**
|
||||
* @var yii\web\View
|
||||
* @var \Da\User\Module $module
|
||||
* @var string $title
|
||||
* @var string $title
|
||||
*/
|
||||
|
||||
$this->title = $title;
|
||||
|
||||
Reference in New Issue
Block a user