mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 16:00:54 -03:00
Including item and product form validation
This commit is contained in:
11
resources/views/layouts/errors.blade.php
Normal file
11
resources/views/layouts/errors.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
@if (count($errors))
|
||||
<div class="form-group">
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
Reference in New Issue
Block a user