<?php

use yii\bootstrap\ActiveField;
use mihaildev\ckeditor\CKEditor;

$form = \yii\bootstrap\ActiveForm::begin();
?>
<div role="" class="tab-pane active ajax-loaded" id="<?=$widget_id?>-<?=$model->language_id?>">

    <?= (new ActiveField(['model' => $article_lang, 'attribute' => "[$model->language_id][$type]language_id"]))->label(false)->hiddenInput(['value' => $model->language_id]) ?>

    <?= (new ActiveField(['model' => $article_lang, 'attribute' => "[$model->language_id][$type]imageFile"]))->fileInput(['class' => 'image_inputs_field']) ?>

</div>
<?php
$form->end();
?>
