您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
1.0KB

  1. <?php
  2. /* @var $this yii\web\View */
  3. /* @var $form yii\widgets\ActiveForm */
  4. /* @var $generator yii\gii\generators\extension\Generator */
  5. ?>
  6. <div class="alert alert-info">
  7. Please read the
  8. <?= \yii\helpers\Html::a('Extension Guidelines', 'http://www.yiiframework.com/doc-2.0/guide-structure-extensions.html', ['target'=>'new']) ?>
  9. before creating an extension.
  10. </div>
  11. <div class="module-form">
  12. <?php
  13. echo $form->field($generator, 'vendorName');
  14. echo $form->field($generator, 'packageName');
  15. echo $form->field($generator, 'namespace');
  16. echo $form->field($generator, 'type')->dropDownList($generator->optsType());
  17. echo $form->field($generator, 'keywords');
  18. echo $form->field($generator, 'license')->dropDownList($generator->optsLicense(), ['prompt'=>'Choose...']);
  19. echo $form->field($generator, 'title');
  20. echo $form->field($generator, 'description');
  21. echo $form->field($generator, 'authorName');
  22. echo $form->field($generator, 'authorEmail');
  23. echo $form->field($generator, 'outputPath');
  24. ?>
  25. </div>