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