@if(count($errors) > 0)

There were some problems with your input(s).!

@endif @if(session()->has('data'))

{{ session()->get('data')['title'] }}!

{{ session()->get('data')['msg'] }}

@endif