Skip to content

Instantly share code, notes, and snippets.

@jeffandersen
Created December 13, 2018 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffandersen/61b7c76a3aee19e13ac9049c33345a21 to your computer and use it in GitHub Desktop.
Save jeffandersen/61b7c76a3aee19e13ac9049c33345a21 to your computer and use it in GitHub Desktop.
<!-- resources/views/common/errors.blade.php -->
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops! Something went wrong!</strong>
<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment