Created
September 24, 2017 21:13
-
-
Save trevorgreenleaf/b1508d5524d43a666757f9e9fd1e3903 to your computer and use it in GitHub Desktop.
Laravel Error Whoops Snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (count($errors) > 0) | |
<div class="alert alert-danger text-left"> | |
<strong>Whoops!</strong> There were problems with input: | |
<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