id)->where('user_id',Auth::user()->id)->first();
// dd($users);
$que = App\Question::where('topic_id',$topic->id)->first();
?>
@if(empty($users))
@if(empty($que))
No Questions in this quiz {{$topic->title}}
Return Home
@endif
@else
You have already submitted the quiz {{$topic->title}}.
Return Home
@endif