у сессии есть лезвие Laravel
@if(Session::has('error'))
<div class="alert alert-danger">
{{ Session::get('error')}}
</div>
@endif
Attractive Ape
@if(Session::has('error'))
<div class="alert alert-danger">
{{ Session::get('error')}}
</div>
@endif
@if(session()->has('qwick'))
@else
@endif