@if(Session::has('msg')) @switch(Session::get('status')) @case('success') @break @case('error') @break @endswitch @endif