@if(session('error_message'))
<div class="text-white bg-danger p-2 borderd rounded alert" role="alert">
    {{ session('error_message')}}
</div>
@endif


@if(session('success_message'))
<div class="text-white bg-success p-2 borderd rounded alert" role="alert" style="">
    {{ session('success_message')}}
</div>

@endif

{{-- <script>

  setTimeout(function(){
    jQuery('.alert').slideToggle(500);
  },5000);
</script> --}}
