Browse Source

gii自动生成crud模板ironCrud,将form里面yii的activeform修改为bootstrap4的activeform

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
be6b9cb7b7
  1. 2
      vendor/iron/generators/crud/default/views/_form.php

2
vendor/iron/generators/crud/default/views/_form.php

@ -17,7 +17,7 @@ echo "<?php\n";
?>
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\bootstrap4\ActiveForm;
/* @var $this yii\web\View */
/* @var $model <?= ltrim($generator->modelClass, '\\') ?> */

Loading…
Cancel
Save