shareit/resources/views/layouts/errors.blade.php
Bruno Fontes f27ee7172f
Fixing margins on error messages (errors.blade)
Sometimes the error box was appearing
with no space between it and other boxes
2018-09-13 21:15:40 -03:00

11 lines
300 B
PHP

@if (count($errors))
<div class="form-group mt-2 ml-2 mr-2 mb-2">
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
</div>
@endif