<?php

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

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

<div class="inventory-item-search">

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

    <?= $form->field($model, 'item_type')->hiddenInput()->label(false) ?>
    <?= $form->field($model, 'item_id')->hiddenInput()->label(false) ?>
	<div class="row">
		<div class="col-md-4">
		    <?= $form->field($model, 'item_name')->label("Termék/Termék csoport neve") ?>
		</div>
	</div>



    <div class="form-group">
        <?= Html::submitButton(Yii::t('common/inventory-item', 'Keresés'), ['class' => 'btn btn-primary']) ?>
    </div>

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

</div>
