/**
  * @return \yii\widgets\ActiveField
  */
 public function renderForActiveForm()
 {
     $field = parent::renderForActiveForm();
     $field->widget(\skeeks\cms\widgets\formInputs\comboText\ComboTextInputWidget::className(), ['ckeditorOptions' => ['relatedModel' => $this->model]]);
     return $field;
 }
Beispiel #2
0
<?php

/**
 * @author Semenov Alexander <*****@*****.**>
 * @link http://skeeks.com/
 * @copyright 2010 SkeekS (СкикС)
 * @date 27.05.2015
 */
/* @var $this yii\web\View */
use skeeks\cms\modules\admin\widgets\form\ActiveFormUseTab as ActiveForm;
$form = ActiveForm::begin();
?>
    <?php 
echo $form->fieldSet('Настройки');
?>
        <?php 
echo $form->field($model, 'text')->widget(\skeeks\cms\widgets\formInputs\comboText\ComboTextInputWidget::className());
?>
    <?php 
echo $form->fieldSetEnd();
echo $form->buttonsStandart($model);
ActiveForm::end();
Beispiel #3
0
<?php

/* @var $this yii\web\View */
/* @var $model \skeeks\cms\models\CmsContentElement */
/* @var $relatedModel \skeeks\cms\relatedProperties\models\RelatedPropertiesModel */
echo $form->fieldSet(\Yii::t('skeeks/cms', 'In detal'));
?>

    <?php 
echo $form->field($model, 'image_full_id')->widget(\skeeks\cms\widgets\formInputs\StorageImage::className());
?>

    <?php 
echo $form->field($model, 'description_full')->widget(\skeeks\cms\widgets\formInputs\comboText\ComboTextInputWidget::className(), ['modelAttributeSaveType' => 'description_full_type']);
?>

<?php 
echo $form->fieldSetEnd();
Beispiel #4
0
 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->field($this, 'text')->widget(\skeeks\cms\widgets\formInputs\comboText\ComboTextInputWidget::className());
 }