portal.mkgtu.ru/backend/views/main-page-setting/_instruction_point_text.php

21 lines
275 B
PHP
Executable File

<?php
use backend\models\MainPageInstructionText;
use kartik\form\ActiveForm;
use yii\web\View;
$index = 'paragraph';
if ($model->main_page_setting_id) {
$index = "[{$model->main_page_setting_id}]{$index}";
}
echo $form->field($model, $index)
->textarea();