<?php echo $form->field($filterModel, 'kategoriiSlushatelej')->widget(Select2::className(), ['data' => KategoriyaSlushatelya::find()->formattedAll(EntityQuery::CHECKBOX_LIST, 'nazvanie'), 'options' => ['placeholder' => '', 'multiple' => true], 'pluginOptions' => ['allowClear' => true]]); ?> </div> <div class="col-md-8"> <?php echo $form->field($filterModel, 'nazvanie'); ?> <?php echo $form->field($filterModel, 'rukovoditel')->widget(Select2::className(), ['data' => FizLico::findRukovoditeliKursov()->formattedAll(EntityQuery::DROP_DOWN, 'familiyaInicialy'), 'options' => ['placeholder' => ''], 'pluginOptions' => ['allowClear' => true]]); ?> <?php echo $form->field($filterModel, 'chasy')->widget(TouchSpin::className()); ?> <div class="row"> <div class="col-md-6"> <?php echo $form->field($filterModel, 'nachalo')->widget(DeprecatedDatePicker::className()); ?> </div> <div class="col-md-6"> <?php echo $form->field($filterModel, 'konec')->widget(DeprecatedDatePicker::className()); ?> </div> </div> </div> <?php
?> <?php echo $form->field($searchModel, 'kategorii_slushatelej')->widget(Select2::className(), ['data' => $kategoriiSlushatelej, 'options' => ['multiple' => true], 'pluginOptions' => ['allowClear' => true]]); ?> </div> <div class="col-md-6"> <?php echo $form->field($searchModel, 'rukovoditel')->widget(Select2::className(), ['data' => $rukovoditeliKursov, 'options' => ['placeholder' => ''], 'pluginOptions' => ['allowClear' => true]]); ?> <?php echo $form->field($searchModel, 'raschitano_chasov')->widget(TouchSpin::className()); ?> <?php echo $form->field($searchModel, 'nachnutsya_posle')->widget(DatePicker::className()); ?> <?php echo $form->field($searchModel, 'zakonchatsya_do')->widget(DatePicker::className()); ?> </div> <?php echo Html::submitButton('Применить фильтры', ['class' => 'btn btn-primary']); ?>
/** * @var $model DolzhnostForm */ ?> <?php $form = ActiveForm::begin(['layout' => 'horizontal']); ?> <?php echo $form->field($model, 'dolzhnostDir')->widget(ComboWidget::className(), ['data' => Dolzhnost::find()->commonOnly()->formattedAll(EntityQuery::DROP_DOWN, 'nazvanie')]); ?> <?php echo $form->field($model, 'org_tip')->dropDownList(OrgTipDolzhnosti::namesMap()); ?> <?php echo $form->field($model, 'etap_obrazovaniya')->dropDownList(EtapObrazovaniya::namesMap()); ?> <?php echo $form->field($model, 'stazh')->widget(TouchSpin::className()); ?> <?php echo Html::submitButton('Сохранить', ['class' => 'btn btn-primary']); ?> <?php ActiveForm::end();
*/ ?> <?php $form = ActiveForm::begin(['layout' => 'horizontal']); echo $form->field($model, 'dokument_ob_obrazovanii_tip')->dropDownList(TipDokumentaObObrazovanii::namesMap()); echo $form->field($model, 'dokument_ob_obrazovanii_seriya'); echo $form->field($model, 'dokument_ob_obrazovanii_nomer'); echo $form->field($model, 'dokument_ob_obrazovanii_data')->widget(DatePicker::className()); ?> <?php echo $form->field($model, 'kvalifikaciyaDir')->widget(ComboWidget::className(), ['data' => Kvalifikaciya::find()->commonOnly()->formattedAll(EntityQuery::DROP_DOWN, 'nazvanie')]); ?> <?php echo $form->field($model, 'organizaciyaDir')->widget(ComboWidget::className(), ['data' => Organizaciya::find()->commonOnly()->formattedAll(EntityQuery::DROP_DOWN, 'nazvanie')]); ?> <?php echo $form->field($model, 'kurs_tip')->widget(Select2::className(), ['data' => TipKursa::namesMap(), 'hideSearch' => true, 'options' => ['placeholder' => ''], 'pluginOptions' => ['allowClear' => true]]); ?> <?php echo $form->field($model, 'kurs_nazvanie'); echo $form->field($model, 'kurs_chasy')->widget(TouchSpin::className()); ?> <?php echo Html::submitButton('Сохранить', ['class' => 'btn btn-primary']); ActiveForm::end();
<div class="row"> <?php echo $form->field($model, 'tip', ['options' => ['class' => 'form-group col-md-6']])->widget(Select2::className(), ['data' => TipKursa::names(), 'options' => ['placeholder' => ''], 'pluginOptions' => ['allowClear' => true]]); ?> <?php echo $form->field($model, 'formy_obucheniya_widget', ['options' => ['class' => 'form-group col-md-6']])->widget(Select2::className(), ['data' => FormaObucheniya::names(), 'options' => ['placeholder' => '', 'multiple' => true], 'pluginOptions' => ['allowClear' => true]]); ?> </div> <div class="row"> <?php echo $form->field($model, 'raschitano_chasov', ['options' => ['class' => 'form-group col-md-4']])->widget(TouchSpin::className()); ?> <?php echo $form->field($model, 'finansirovanie', ['options' => ['class' => 'form-group col-md-4']])->widget(Select2::className(), ['data' => TipFinansirovaniya::names(), 'options' => ['placeholder' => ''], 'pluginOptions' => ['allowClear' => true]]); ?> <?php echo $form->field($model, 'rukovoditel', ['options' => ['class' => 'form-group col-md-4']])->widget(Select2::className(), ['data' => $rukovoditeliKursov, 'options' => ['placeholder' => ''], 'pluginOptions' => ['allowClear' => true]]); ?> </div> </fieldset> <fieldset>