Removed unnessary controller functions that just call a view, HTML/CSS consistency updates
This commit is contained in:
12
resources/views/widgets/error.blade.php
Normal file
12
resources/views/widgets/error.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<span class="col-6 mt-auto mx-auto text-center align-bottom">
|
||||
@if($errors->count())
|
||||
<span class="btn btn-sm btn-danger" role="alert">
|
||||
There were errors with the submission.
|
||||
<ul>
|
||||
@foreach($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</span>
|
||||
@endif
|
||||
</span>
|
Reference in New Issue
Block a user