<?php
    use common\modules\language\models\Language;
    use common\modules\product\models\ProductUnitLang;
    use yii\web\View;
    use yii\widgets\ActiveForm;
    
    /**
     * @var ProductUnitLang $model_lang
     * @var Language        $language
     * @var ActiveForm      $form
     * @var View            $this
     */
?>
<?= $form->field($model_lang, '[' . $language->language_id . ']name')
         ->textInput([ 'maxlength' => true ]); ?>
<?= $form->field($model_lang, '[' . $language->language_id . ']short')
         ->textInput([ 'maxlength' => true ]); ?>