Example #1
0
        </div>
        <div class="col-md-1" style="padding-left:0">
            <?php 
echo Html::submitButton('Search', ['class' => 'btn btn btn-primary full-width', 'style' => 'width: 100%']);
?>
        </div>
    </div>

    <div class="row" style="margin-top:4px;">
        <div class="col-md-11">
            <?php 
echo TagsWidget::widget(['id' => 'tags', 'name' => 'tags']);
?>
        </div>
        <div class="col-md-1 text-center" style="padding-left:0; padding-top:2px;">
            <?php 
echo \dosamigos\switchinput\SwitchBox::widget(['name' => 'tags_mode', 'checked' => true, 'clientOptions' => ['size' => 'small', 'offColor' => 'success', 'onText' => 'All', 'offText' => 'Any']]);
?>
        </div>
    </div>
    <?php 
echo Html::endForm();
?>

    <div style="margin-top: 10px;">
        <?php 
echo ListView::widget(['dataProvider' => $dataProvider, 'itemView' => '_artist']);
?>
    </div>
</div>