You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526
  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>