mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
This commit is contained in:
@ -37,12 +37,12 @@ foreach ($generator->templates as $name => $path) {
|
||||
<?= $this->renderFile($generator->formView(), [
|
||||
'generator' => $generator,
|
||||
'form' => $form,
|
||||
]); ?>
|
||||
]) ?>
|
||||
<?= $form->field($generator, 'template')->sticky()
|
||||
->label('Code Template')
|
||||
->dropDownList($templates)->hint('
|
||||
Please select which set of the templates should be used to generated the code.
|
||||
'); ?>
|
||||
') ?>
|
||||
<div class="form-group">
|
||||
<?= Html::submitButton('Preview', ['name' => 'preview', 'class' => 'btn btn-primary']) ?>
|
||||
|
||||
|
Reference in New Issue
Block a user