Skip to content

Commit

Permalink
Add pull-right class to ButtonDropsdown
Browse files Browse the repository at this point in the history
  • Loading branch information
tafid committed Aug 4, 2015
1 parent 7f8f320 commit 024ee18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/server/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
Pjax::begin(array_merge(Yii::$app->params['pjax'], ['enablePushState' => true]));
?>

<?php $box = ActionBox::begin(['bulk' => true, 'options' => ['class' => 'box-info']]) ?>
<?php $box = ActionBox::begin(['model' => $model, 'bulk' => true, 'options' => ['class' => 'box-info']]) ?>
<?php $box->beginActions() ?>
<?= Html::a(Yii::t('app', 'Advanced search'), '#', ['class' => 'btn btn-info search-button']) ?>
<?= LinkSorter::widget([
Expand All @@ -47,6 +47,7 @@
ButtonDropdown::widget([
'label' => Yii::t('app', 'Lock'),
'dropdown' => [
'options' => ['class' => 'pull-right'],
'items' => [
[
'label' => Yii::t('app', 'Enable lock'),
Expand Down

0 comments on commit 024ee18

Please sign in to comment.