<?php

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

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

<div class="prodi-form">

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

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

</div>
