@php
$img_path='';
if( isset($entity))
$img_path=$entity->image_path;
@endphp
@foreach( getTranslationField($entity?? null, 'title') as $field )
{!! Form::customInput('text', $field->name,$field->value) !!}
@endforeach
{!! Form::label('status', __("status"), ['class' => 'awesome']) !!}
{!! Form::select('status', $data->status ,$entity->status??null, array('class' => 'form-control' )) !!}
@if ($errors->has('category_id.0'))
{{ $errors->first('category_id.0') }}
@endif
{!! Form::customInput('date', 'started_at') !!}
{!! Form::customInput('date', 'ended_at') !!}
@include('settings::components.attachments',[
'delete'=>true,'canAdd'=>true
])