39 lines
725 B
PHP
39 lines
725 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\ActiveForm;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model frontend\models\CollectionSearch */
|
|
/* @var $form yii\widgets\ActiveForm */
|
|
?>
|
|
<?php
|
|
|
|
|
|
?>
|
|
|
|
<div class="collection-search">
|
|
|
|
<?php $form = ActiveForm::begin([
|
|
'action' => ['index'],
|
|
'method' => 'get',
|
|
]); ?>
|
|
|
|
|
|
<div class='row'>
|
|
<div class="col-md-4">
|
|
<?php echo $form->field($model, 'customerName') ?>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<?php echo $form->field($model, 'number') ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<?= Html::submitButton(Yii::t('frontend/collection', 'Search'), ['class' => 'btn btn-primary']) ?>
|
|
</div>
|
|
|
|
<?php ActiveForm::end(); ?>
|
|
|
|
</div>
|