@set('value', $item[$column['name']])
@if($column['type'] == 'hidden')
@elseif($column['type'] != 'display' || $id != 'new')
@if($column['type'] == 'text')
@elseif($column['type'] == 'date')
@elseif($column['type'] == 'mkd')
@elseif($column['type'] == 'select')
@elseif($column['type'] == 'image')
@set('current_image', "/uploads/$model/img/$id-" . $column['name'] . '.jpg')
@if(file_exists(base_path() . '/public' . $current_image))
@else
(No Image Set)
@endif
@elseif($column['type'] == 'file')
@set('current_file', "/uploads/$model/files/$id-" . $column['name'] . '.' . $column['ext'])
@if(file_exists(base_path() . '/public' . $current_file))
View Current {{ strtoupper($column['ext']) }}
@else
(No {{ strtoupper($column['ext']) }} Set)
@endif
@elseif($column['type'] == 'display')
{{ $value }}
@endif