@if(Session::has('success')) @elseif(Session::has('error')) @endif

{{ csrf_field() }}