<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use common\models\Key;

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

<div class="key-search">
	
	
    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?php //echo $form->field($model, 'id_key') ?>
	<div class="row">
	<div class="col-md-4">
    <?php echo $form->field($model, 'number') ?>
	</div><!-- col-md-4 END -->
	<div class="col-md-4">
    <?php echo $form->field($model, 'rfid_key') ?>
	</div><!-- col-md-4 END -->
	</div><!-- row END -->
    <?php //$form->field($model, 'status')->dropDownList(  Key::statuses()  ) /*->textInput()*/ ?>

    <?php //echo $form->field($model, 'status') ?>

    <?php //echo $form->field($model, 'type') ?>

    <?php //echo $form->field($model, 'created_at') ?>

    <?php // echo $form->field($model, 'updated_at') ?>

    <div class="form-group">
        <?= Html::submitButton(Yii::t('backend/key', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?php //echo Html::resetButton(Yii::t('backend/key', 'Reset'), ['class' => 'btn btn-default']); /* Reset gomb */ ?>
    </div>

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