<?php

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

$evaluating_values = [
    'Excellent'     => Yii::t('app', 'Excellent'), 
    'Very Good'     => Yii::t('app', 'Very Good'),
    'Good'          => Yii::t('app', 'Good'),
    'Intermediate'  => Yii::t('app', 'Intermediate'),
    'Weak'          => Yii::t('app', 'Weak')
];

?>

<div class="evaluations-form">

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

    <?= $form->field($model, 'attendance_and_moral_behavior')->dropDownList($evaluating_values, ['prompt' => '']) ?>

    <?= $form->field($model, 'communication_skills')->dropDownList($evaluating_values, ['prompt' => '']) ?>

    <?= $form->field($model, 'self_confidence')->dropDownList($evaluating_values, ['prompt' => '']) ?>

    <?= $form->field($model, 'academic_knowledge')->dropDownList($evaluating_values, ['prompt' => '']) ?>

    <?= $form->field($model, 'ability_to_absorb_tasks')->dropDownList($evaluating_values, ['prompt' => '']) ?>

    <?= $form->field($model, 'speed_and_flexibility_in_completing_tasks')->dropDownList($evaluating_values, ['prompt' => '']) ?>

    <?= $form->field($model, 'working_within_the_team')->dropDownList($evaluating_values, ['prompt' => '']) ?>

    <?= $form->field($model, 'desire_to_learn')->dropDownList($evaluating_values, ['prompt' => '']) ?>

    <?= $form->field($model, 'other_notes')->textarea(['rows' => 6, 'style' => ['resize' => 'none']]) ?>

    <?= $form->field($model, 'strengths')->textarea(['rows' => 6, 'style' => ['resize' => 'none']]) ?>

    <?= $form->field($model, 'weaknesses')->textarea(['rows' => 6, 'style' => ['resize' => 'none']]) ?>

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

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

</div>
