@if(session('status'))
<div class="alert alert-primary alert-dismissible fade show" role="alert">
    {!! session('status') !!}
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
@endif



@if(session('statuspass'))
<div class="alert alert-danger alert-dismissible fade show" role="alert">
    {!! session('statuspass') !!}
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
@endif


@if(count($errors) > 0)
@foreach($errors-> all() as $error)

<div class="alert alert-danger alert-dismissible fade show" role="alert">
{{$error}}.
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>


@endforeach
@endif