<div class="alert alert-info alert-dismissible" id="alert_msg_block" style="display:none;">
    <button type="button" class="close" data-dismiss="alert" aria-hidden="true" onClick="$.cookie('alertshow', 'no');">
        &times;
    </button>
    <h5><i class="icon fas fa-info"></i> {{ trans('frontend.str.warning_alert') }}</h5>
    <span id="alert_warning_msg"></span>
</div>

@if (isset($infoAlert) && $infoAlert)
    <div class="callout callout-info">
        <p>{{ $infoAlert }}</p>
    </div>
@endif

@if (session('success'))
    <div class="alert alert-success alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <h5><i class="icon fas fa-check"></i> {{ session('success') }}</h5>
    </div>
@endif

@if (session('error'))
    <div class="alert alert-danger alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <h5><i class="icon fas fa-ban"></i> {{ trans('frontend.str.error_alert') }}</h5>
        {{ session('error') }}
    </div>
@endif

@if ($errors->any())
    <div class="alert alert-danger alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <h5><i class="icon fas fa-ban"></i> {{ trans('frontend.str.error_alert') }}</h5>
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif


