Initial Spark Install
This commit is contained in:
11
spark/resources/views/shared/errors.blade.php
Normal file
11
spark/resources/views/shared/errors.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
@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
|
Reference in New Issue
Block a user