vc text short

This commit is contained in:
andrey
2021-07-13 13:45:44 +03:00
parent fef3f26ae3
commit ca64e6741f
5 changed files with 39 additions and 2 deletions

View File

@ -154,6 +154,12 @@ use yii\widgets\ActiveForm;
</div>
</div>
<div class="row">
<div class="col-xs-12">
<?= $form->field($model, 'vc_text_short')->textarea() ?>
</div>
</div>
<?= $form->field($model, 'vc_text')->widget(EditorClassic::className(),[
'clientOptions' => [
'language' => 'ru',

View File

@ -75,6 +75,7 @@ $this->params['breadcrumbs'][] = $this->title;
],
'created_at',
'updated_at',
'vc_text_short',
[
'attribute' => 'vc_text',
'format' => 'raw'