{{-- Validation errors received from controller's create method --}} @if ($errors->any())
@endif {{-- Other errors folowing a redirection (unauthorized or wrong app_id during edit request) --}} @if(session('error'))

{{session('error')}}

@endif {{-- Success message after a successful lead creation --}} @if (isset($successMessage))
{{$successMessage}}
@endif
@if(isset($user_leads)) @foreach ($user_leads as $lead) @endforeach @endif