* баг с минутами

* добавлено редактирование портфолио
This commit is contained in:
anatolidew
2021-11-25 14:04:14 +03:00
parent 8e490ce518
commit c4139baeb2
3 changed files with 21 additions and 1 deletions

View File

@ -1,7 +1,9 @@
<?php
use asmoday74\ckeditor5\EditorClassic;
use yii\grid\GridView;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
@ -65,6 +67,18 @@ $this->title = 'Профиль';
return $model->value;
}
],
'vc_text'
],
]); ?>
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'vc_text')->widget(EditorClassic::className(), [
'clientOptions' => [
'language' => 'ru',
]
]); ?>
<div class="form-group">
<?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
</div>
<?php $form = ActiveForm::end(); ?>
</div>