</div> <div class="col-sm-4 col-md-2"> <label class="search"><i class="fa fa-search"></i> <?php echo Html::a(Yii::t('app', 'Advanced search'), Url::toRoute(['/search', 'advanced' => 1])); ?> </label> <?php echo Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary btn-block']); ?> </div> </div> <div class="row"> <div class="col-md-12"> <div style="margin-top: 15px;"> <?php echo \common\widgets\BootstrapSlider::widget(['min' => Sale::priceMin(), 'max' => Sale::priceMax(), 'val_min' => $model->price_from ? $model->price_from : Sale::priceMin(), 'val_max' => $model->price_to ? $model->price_to : Sale::priceMax()]); ?> <?php echo Html::hiddenInput('SaleSearch[price_from]', $model->price_from, ['id' => 'price_from']); ?> <?php echo Html::hiddenInput('SaleSearch[price_to]', $model->price_to, ['id' => 'price_to']); ?> </div> </div> </div> <?php } else { ?> <div class="row"> <div class="col-xs-6 col-sm-4 col-md-2">