commit
c8afc49aad
@ -43,7 +43,7 @@ AppAsset::register($this);
|
|||||||
['label' => 'Login', 'url' => ['/site/login']]
|
['label' => 'Login', 'url' => ['/site/login']]
|
||||||
) : (
|
) : (
|
||||||
'<li>'
|
'<li>'
|
||||||
. Html::beginForm(['/site/logout'], 'post')
|
. Html::beginForm(['/site/logout'], 'post', ['class' => 'navbar-form'])
|
||||||
. Html::submitButton(
|
. Html::submitButton(
|
||||||
'Logout (' . Yii::$app->user->identity->username . ')',
|
'Logout (' . Yii::$app->user->identity->username . ')',
|
||||||
['class' => 'btn btn-link']
|
['class' => 'btn btn-link']
|
||||||
|
Loading…
Reference in New Issue
Block a user