@if ($errors->any())
<ul class="alert alert-danger" style="padding-left:30px;">
  @foreach ($errors->all() as $error)
  <li>{!! $error !!}</li>
  @endforeach
</ul>
@endif

@if(Session::has('success_message'))
<div style="text-align: center" class="alert alert-success notification-alert">
  {{ Session::get('success_message') }}
</div>
@elseif(Session::has('error_message'))
<div style="text-align: center" class="alert alert-danger notification-alert">
  {{ Session::get('error_message') }}
</div>
@endif


@if (Session::has('admin-success'))
<div class="alert alert-success border-0" role="alert">
    <strong>{{ Session::get('admin-success') }}</strong>
</div>
@endif

@if (Session::has('admin-error'))
<div class="alert alert-danger border-0" role="alert">
    {{ Session::get('admin-error')}}
</div>
@endif
<div style="text-align: center" class="alert alert-success hidden d-none" id="successArea" ></div>
<div style="text-align: center" class="alert alert-danger hidden d-none" id="errorArea"></div>