Skip to content

Instantly share code, notes, and snippets.

@jeffandersen jeffandersen/errors.blade.php Secret

Created Dec 13, 2018
What would you like to do?
<!-- resources/views/common/errors.blade.php -->
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops! Something went wrong!</strong>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.