<?php

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

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

<div class="waste-form">

    <?php $form = ActiveForm::begin(); ?>


    <?= $form->field($model, 'productIdentifier')->textInput(['autocomplete' => 'off'])->label('Írja be a termék nevét') ?>
    
    <?= $form->field($model, 'id_product')->hiddenInput()->label(false) ?>

    <?= $form->field($model, 'count')->textInput() ?>
    
    <?= $form->field($model, 'comment')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton( Yii::t('common/waste', 'Létrehoz')  , ['class' =>  'btn btn-success'  ]) ?>
    </div>

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

</div>
