php form ActiveForm begin Html activeDropDownList model site searchMod

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php $form = ActiveForm::begin(); ?>
<?= Html::activeDropDownList($model, 'site', $searchModel->id, ['class' => 'selectpicker', 'title' => 'id', 'multiple' => 'multiple']) ?>
<?//= Html::activeTextInput($model, 'site', ['class' => 'form-control']); ?>
<?php ActiveForm::end(); ?>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'id',
'idsite',
'site',
'userbourse',
'bourse',
'partner',
'tic',
'day_profit',
'ok',
'new',
'error',
'sleep',
'time_check',
],
]); ?>