<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\CustomerSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="customer-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

	<div class='row'>
		<div class='col-md-4'>
    		<?= $form->field($model, 'cardNumber') ?>
		</div>
		<div class='col-md-4'>
    	<?php echo $form->field($model, 'name') ?>
		</div>
		<div class='col-md-4'>
	    <?php  echo $form->field($model, 'email') ?>
		</div>
	</div>



    <div class="form-group">
        <?= Html::submitButton(Yii::t('common/customer', 'Search'), ['class' => 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
