@if(session()->has('success'))
<div class="alert alert-success text-center {{ $aside ?? '' }} {{ $autoHide ?? '' }}">
    <span class="fas fa-fw fa-check"></span> {{ session('success') }}
</div>
@endif
@if(session()->has('error'))
<div class="alert alert-danger text-center {{ $aside ?? '' }}">
    <span class="far fa-fw fa-times-circle"></span> {{ session('error') }}
</div>
@endif
@if(session()->has('warning'))
<div class="alert alert-warning text-center {{ $aside ?? '' }}">
    <span class="fas fa-fw fa-exclamation-triangle"></span> {{ session('warning') }}
</div>
@endif
@if(session()->has('info'))
<div class="alert alert-info text-center {{ $aside ?? '' }}">
    <span class="fas fa-fw fa-info-circle"></span> {{ session('info') }}
</div>
@endif
@if(!$errors->isEmpty())
<div class="alert alert-danger {{ $aside ?? '' }}">
    <p><strong>@lang('Ooops...some errors occured'):</strong></p>
    <ol class="pl-3 mb-0">
    @foreach($errors->all() as $error)
        <li>{{ $error }}</li>
    @endforeach
    </ol>
</div>
@endif
