@if(session()->has('success'))
Congratulations!

{{session()->get('success')}}

@endif @if(session()->has('error'))
Error!

{{session()->get('error')}}

@endif