@if(Session::has('success'))
<div class="alert alert-success">
    <a class="close" data-dismiss="alert" href="#">&times;</a>
    <strong><i class="fa fa-check"></i></strong>&nbsp;
&nbsp;
{{Session::get('success')}}
</div>
@endif

@if(Session::has('info'))
<div class="alert alert-info">
    <a class="close" data-dismiss="alert" href="#">&times;</a>
    <strong><i class="fa fa-info"></i></strong>&nbsp;
&nbsp;
{{Session::get('info')}}
</div>
@endif

@if(Session::has('warning'))
<div class="alert alert-warning">
    <a class="close" data-dismiss="alert" href="#">&times;</a>
    <strong><i class="fa fa-warning"></i></strong>&nbsp;
&nbsp;
{{Session::get('warning')}}
</div>
@endif

@if(Session::has('error'))
<div class="alert alert-danger">
    <a class="close" data-dismiss="alert" href="#">&times;</a>
    <strong><i class="fa fa-times"></i></strong>&nbsp;
&nbsp;
{{Session::get('error')}}
</div>
@endif

@if($errors->has())
 @foreach ($errors->all() as $error)
<div class="alert alert-danger">
    <a class="close" data-dismiss="alert" href="#">&times;</a>
    <strong><i class="fa fa-times"></i></strong>&nbsp;
&nbsp;
{{$error}}
</div>
  @endforeach
@endif
