@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'] == 'display')
{{ $value }}
@endif