@if ($errors->any())
<div class="alert alert-danger align-items-center">
    @foreach ($errors->all() as $error )
        <p style="margin-bottom: 0px;">{{$error}}</p>
    @endforeach
</div>

@endif

@if (session('error'))
<div class="alert alert-danger align-items-center mt-3">
        <p style="margin-bottom: 0px;">{{session('error')}}</p>
</div>

@endif