@if(!empty($files)) @if (in_array($ext, ['jpg','jpeg', 'png', 'gif']) ) @else
{!!$files["file"]!!}
@endif @else File not uploaded. @endif