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