<?php

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

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

<div class="winner2021-form">

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

    <?= $form->field($model, 'fk_parcipant_id')->textInput() ?>

    <?= $form->field($model, 'fk_prize_id')->textInput() ?>

    <?= $form->field($model, 'details')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'prize_date')->textInput() ?>

    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

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

</div>
