芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2-gii/src/generators/crud/default/views/_form.php
modelClass(); $safeAttributes = $model->safeAttributes(); if (empty($safeAttributes)) { $safeAttributes = $model->attributes(); } echo " use yii\helpers\Html; use yii\widgets\ActiveForm; /** @var yii\web\View $this */ /** @var = ltrim($generator->modelClass, '\\') ?> $model */ /** @var yii\widgets\ActiveForm $form */ ?>
= "$form = ActiveForm::begin(); ?> getColumnNames() as $attribute) { if (in_array($attribute, $safeAttributes)) { echo " = " . $generator->generateActiveField($attribute) . " ?>\n\n"; } } ?>
= "= " ?>Html::submitButton(= $generator->generateString('Save') ?>, ['class' => 'btn btn-success']) ?>
= "ActiveForm::end(); ?>