@extends('layouts.register_event') @section('content') @if(isset($event) && !empty($event))
@if(file_exists(storage_path('app/public/uploads/'.$event->logo))) @endif

{{ $event->name }} @if(today()->format('Y-m-d') > $event->submission_deadline) - Entries closed for this Event @endif

{!! $event->description !!}
@if(Auth::user() && Auth::user()->role_id==3) @if(today()->format('Y-m-d') <= $event->submission_deadline || auth::user()->is_allow_entry==1) @endif @endif
@else @endif @endsection