title = $generator->getName();
$templates = array();
foreach ($generator->templates as $name => $path) {
$templates[$name] = "$name ($path)";
}
?>
title); ?>
getDescription(); ?>
array('class' => 'yii\gii\ActiveField'))); ?>
renderFile($generator->formView(), array(
'generator' => $generator,
'form' => $form,
)); ?>
field($generator, 'template')->label(array('label' => 'Code Template'))->dropDownList($templates)->hint('
Please select which set of the templates should be used to generated the code.
'); ?>