This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/views/shared/_error_messages.php
2013-10-26 18:06:58 -05:00

11 lines
306 B
PHP
Executable File

<?php if (!$this->object->errors()->blank()) : ?>
<div id="error_explanation">
There were problems with the following fields:
<ul>
<?php foreach ($this->object->errors()->full_messages() as $msg) : ?>
<li><?= $msg ?></li>
<?php endforeach ?>
</ul>
</div>
<?php endif ?>