Skip to content

Instantly share code, notes, and snippets.

@justinhernandez
Created August 3, 2010 06:03
Show Gist options
  • Save justinhernandez/505920 to your computer and use it in GitHub Desktop.
Save justinhernandez/505920 to your computer and use it in GitHub Desktop.
<?php if (@$errors): ?>
<ul class="errors">
<?php foreach ($errors as $field => $error): ?>
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment