示例#1
0
 */
use yii\helpers\Html;
use skeeks\cms\modules\admin\widgets\form\ActiveFormUseTab as ActiveForm;
/* @var $this yii\web\View */
?>

<?php 
$form = ActiveForm::begin();
?>

<?php 
echo $form->fieldSet(\skeeks\cms\shop\Module::t('app', 'Main'));
?>

    <?php 
echo $form->fieldSelect($model, 'tax_id', \yii\helpers\ArrayHelper::map(\skeeks\cms\shop\models\ShopTax::find()->all(), 'id', 'name'));
?>

    <?php 
echo $form->fieldSelect($model, 'person_type_id', \yii\helpers\ArrayHelper::map(\skeeks\cms\shop\models\ShopPersonType::find()->all(), 'id', 'name'));
?>


    <?php 
echo $form->field($model, 'value')->textInput();
?>
    <?php 
echo $form->fieldRadioListBoolean($model, 'active');
?>
    <?php 
echo $form->fieldRadioListBoolean($model, 'is_in_price');