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.
19 lines
474 B
19 lines
474 B
11 years ago
|
<?php
|
||
|
/**
|
||
|
* @var yii\base\View $this
|
||
|
* @var yii\gii\Generator $generator
|
||
|
* @var string $results
|
||
|
* @var boolean $hasError
|
||
|
*/
|
||
|
?>
|
||
|
<div class="default-view-results">
|
||
|
<?php
|
||
|
if ($hasError) {
|
||
|
echo '<div class="alert alert-danger">There was something wrong when generating the code. Please check the following messages.</div>';
|
||
|
} else {
|
||
|
echo '<div class="alert alert-success">' . $generator->successMessage() . '</div>';
|
||
|
}
|
||
|
?>
|
||
11 years ago
|
<pre><?= nl2br($results) ?></pre>
|
||
11 years ago
|
</div>
|