<commit_before><?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use frontend\models\Rol;
use frontend\models\Facultad;

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

<div class="docente-form">

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

    <?= $form->field($model, 'ID_DOCENTE')->textInput(['maxlength' => true])->label("RUT Docente") ?>

    <?= $form->field($model, 'ID_ROL')->dropDownList(
        ArrayHelper::map(Rol::find()->all(),'ID_ROL','NOMBRE_ROL'),
        ['prompt'=>'Seleccione Rol'] )->label('Rol') ?>

    <?= $form->field($model, 'ID_FACULTAD')->dropDownList(
        ArrayHelper::map(Facultad::find()->all(),'ID_FACULTAD','NOMBRE_FACULTAD'),
        ['prompt'=>'Seleccione Facultad'] )->label('Facultad') ?>

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

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

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

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

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

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

</div><commit_msg>docente<commit_after><?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use frontend\models\Rol;
use frontend\models\Facultad;

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

<div class="docente-form">

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

    <?= $form->field($model, 'ID_DOCENTE')->textInput(['maxlength' => true])->label("RUT Docente")->input('rut', ['placeholder' => "Ingrese rut con puntos y guion"]) ?>

    <?= $form->field($model, 'ID_ROL')->dropDownList(
        ArrayHelper::map(Rol::find()->all(),'ID_ROL','NOMBRE_ROL'),
        ['prompt'=>'Seleccione Rol'] )->label('Rol') ?>

    <?= $form->field($model, 'ID_FACULTAD')->dropDownList(
        ArrayHelper::map(Facultad::find()->all(),'ID_FACULTAD','NOMBRE_FACULTAD'),
        ['prompt'=>'Seleccione Facultad'] )->label('Facultad') ?>

    <?= $form->field($model, 'NOMBRE_DOCENTE')->textInput(['maxlength' => true])->input('nombre', ['placeholder' => "Ingrese nombre"]) ?>

    <?= $form->field($model, 'EMAIL')->textInput(['maxlength' => true])->input('email', ['placeholder' => "Ingrese email"]) ?>

    <?= $form->field($model, 'USER')->textInput(['maxlength' => true])->input('user', ['placeholder' => "Ingrese nombre de usuario"]) ?>

    <?= $form->field($model, 'PASSWORD')->passwordInput(['maxlength' => true])->input('password', ['placeholder' => "Ingrese clave de usuario"]) ?>

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

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

</div>
{'fraction_non_alphanumeric': 0.24951456310679612, 'fraction_numerical': 0.0, 'mean_word_length': 4.788389513108614, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4129725', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1075, 'n_words': 158}