osb/spark/resources/views/shared/errors.blade.php
2017-11-03 16:26:07 +11:00

12 lines
289 B
PHP

@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