Exemple #1
0
    <?php 
echo $form->fieldSet(\Yii::t('app', 'Additionally'));
?>
        <?php 
echo $form->field($model, 'label')->textInput();
?>

    <?php 
echo $form->fieldSetEnd();
?>

<?php 
echo $form->fieldSet('Настройки кэширования');
?>
        <?php 
echo $form->fieldRadioListBoolean($model, 'enabledRunCache', \Yii::$app->cms->booleanFormat());
?>
        <?php 
echo $form->fieldInputInt($model, 'runCacheDuration');
?>
    <?php 
echo $form->fieldSetEnd();
?>



<?php 
echo $form->buttonsStandart($model);
ActiveForm::end();
Exemple #2
0
    <?php 
echo $form->field($passwordChange, 'new_password_confirm')->passwordInput();
?>

<?php 
echo $form->fieldSetEnd();
?>

<?/*= $form->fieldSet(\Yii::t('skeeks/cms','Additionally'))*/?><!--
    <?/*= $form->field($model, 'city')->textInput(); */?>
    <?/*= $form->field($model, 'address')->textInput(); */?>
    <?/*= $form->field($model, 'info')->textarea(); */?>
    <?/*= $form->field($model, 'status_of_life')->textarea(); */?>
--><?/*= $form->fieldSetEnd(); */?>

<? if (!$model->isNewRecord && class_exists('\skeeks\cms\authclient\models\UserAuthClient')) : ?>
    <?php 
echo $form->fieldSet(\Yii::t('skeeks/authclient', 'Social profiles'));
?>
        <?php 
echo \skeeks\cms\modules\admin\widgets\RelatedModelsGrid::widget(['label' => \Yii::t('skeeks/authclient', "Social profiles"), 'hint' => "", 'parentModel' => $model, 'relation' => ['user_id' => 'id'], 'controllerRoute' => 'authclient/admin-user-auth-client', 'gridViewOptions' => ['columns' => ['displayName']]]);
?>
    <?php 
echo $form->fieldSetEnd();
?>
<? endif; ?>

<?php 
echo $form->buttonsStandart($model);
\skeeks\cms\modules\admin\widgets\form\ActiveFormUseTab::end();