You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
use yii\helpers\Html; use yii\widgets\ActiveForm; use \blobt\widgets\DateRangePicker;
/* @var $this yii\web\View */ /* @var $model backend\models\searchs\OrderSearch */ /* @var $form yii\widgets\ActiveForm */ ?>
<?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', 'validateOnType' => true, ]); ?>
<div class="row"> <div class="col"> <?= $form->field($model, 'id', [ "template" => "{input}{error}", "inputOptions" => [ "placeholder" => "检索ID", "class" => "form-control", ], "errorOptions" => [ "class" => "error-tips" ] ]) ?>
</div> <div class="col"> <?= $form->field($model, "created_at_range", [ "template" => "{input}{error}", "inputOptions" => [ "placeholder" => "创建时间", ], "errorOptions" => [ "class" => "error-tips" ] ])->widget(DateRangePicker::className()); ?>
</div> <div class="form-group"> <?= Html::submitButton('<i class="fa fa-filter"></i>', ['class' => 'btn btn-default']) ?>
<?= Html::resetButton('<i class="fa fa-eraser"></i>', ['class' => 'btn btn-default']) ?>
</div> </div> <?php ActiveForm::end(); ?>
|