@if(!is_null($content->assignment_description))
{{$content->assignment_description}}
@endif
@php
$user=\Auth::user();
$file_link = $content->assignment_s3_id ? $content->assignment_s3_id : "";
$submits = App\Http\Controllers\Gold\Candidate\GoldCandidateController::getAssignmentSubmit($candidate_mapping->id,$content->id,$contents->track_id);
$submitId = $submits?$submits->id:"";
@endphp
@if($file_link)
@endif
@if(\Carbon\Carbon::now() > \Carbon\Carbon::parse($content->end_date)->format('Y-m-d H:i:s'))
@if($content->is_published == 1)
@endif
@else
@if(!is_null($content->assignment_link))
@endif
@endif