mirror of
https://github.com/php/web-pecl.git
synced 2026-03-24 07:12:15 +01:00
17 lines
376 B
PHP
17 lines
376 B
PHP
<?php $this->extend('layout.php', ['title' => isset($title) ? $title : 'Error']) ?>
|
|
|
|
<?php $this->start('content') ?>
|
|
|
|
<div class="error">
|
|
<h1>ERROR:</h1>
|
|
<ul>
|
|
<?php foreach ($errors as $error): ?>
|
|
<li><?= $this->e($error) ?></li>
|
|
<?php endforeach ?>
|
|
</ul>
|
|
</div>
|
|
|
|
<?= isset($content) ? $content : '' ?>
|
|
|
|
<?php $this->end('content') ?>
|