<?php

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

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

<div class="tkandidat-form">

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

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

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

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

</div>
