@if(session()->get('type')=='error')
    <div class="alert alert-danger" role="alert">
      <div class="alert-body"><i class="fal fa-exclamation-triangle"></i>&nbsp;{{ session('message') }} </div>
    </div>
@elseif (session()->get('type')=='success')
  <div class="alert alert-success" role="alert">
    <div class="alert-body"><i class="fal fa-check-circle fa-1x"></i>&nbsp;{{ session('message') }}.</div>
  </div>
@elseif (session()->get('type')=='warning')
  <div class="alert alert-warning" role="alert">
    <div class="alert-body"><i class="fal fa-exclamation-triangle"></i>&nbsp;{{ session('message') }}.</div>
  </div>
@endif