= Html::encode($this->title) ?>
= $generator->getDescription() ?>
"$id-generator",
'successCssClass' => 'is-valid',
'errorCssClass' => 'is-invalid',
'validationStateOn' => ActiveForm::VALIDATION_STATE_ON_INPUT,
'fieldConfig' => [
'class' => ActiveField::className(),
'hintOptions' => ['tag' => 'small', 'class' => 'form-text text-muted'],
'errorOptions' => ['class' => 'invalid-feedback']
],
]); ?>
render('view/results', [
'generator' => $generator,
'results' => $results,
'hasError' => $hasError,
]);
} elseif (isset($files)) {
echo $this->render('view/files', [
'id' => $id,
'generator' => $generator,
'files' => $files,
'answers' => $answers,
]);
}
?>