osb/spark/resources/views/shared/errors.blade.php

12 lines
289 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> Something went wrong!
<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif