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.

12345678910111213141516
  1. <?php
  2. /* @var $this yii\web\View */
  3. /* @var $generator yii\gii\Generator */
  4. /* @var $results string */
  5. /* @var $hasError boolean */
  6. ?>
  7. <div class="default-view-results">
  8. <?php
  9. if ($hasError) {
  10. echo '<div class="alert alert-danger">There was something wrong when generating the code. Please check the following messages.</div>';
  11. } else {
  12. echo '<div class="alert alert-success">' . $generator->successMessage() . '</div>';
  13. }
  14. ?>
  15. <pre><?= nl2br($results) ?></pre>
  16. </div>