{!! Form::label('subject', trans('global.client-projects.subject').'*', ['class' => 'control-label form-label']) !!}
{!! Form::text('subject', old('subject'), ['class' => 'form-control', 'placeholder' => trans('global.client-projects.subject'), 'required' => '']) !!}

@if($errors->has('subject'))

{{ $errors->first('subject') }}

@endif
{!! Form::label('status_id', trans('ticketit::lang.status').'*', ['class' => 'control-label form-label']) !!} {!! Form::select('status_id', $status_lists, old('status_id'), ['class' => 'form-control select2', 'required' => '']) !!}

@if($errors->has('status_id'))

{{ $errors->first('status_id') }}

@endif
@if( ! empty( $ticket ) )
{!! Form::label('agent_id', trans('ticketit::lang.agent').'*', ['class' => 'control-label form-label']) !!} {!! Form::select('agent_id', $agent_lists, old('agent_id'), ['class' => 'form-control select2', 'required' => '']) !!}

@if($errors->has('agent_id'))

{{ $errors->first('agent_id') }}

@endif
@endif
{!! Form::label('priority_id', trans('global.client-projects.fields.priority').'*', ['class' => 'control-label']) !!} {!! Form::select('priority_id', $priorities, old('priority_id'), ['class' => 'form-control select2', 'required' => '']) !!}

@if($errors->has('priority_id'))

{{ $errors->first('priority_id') }}

@endif
{!! Form::label('category_id', trans('global.client-projects.category').'*', ['class' => 'control-label']) !!} {!! Form::select('category_id', $categories, old('category_id'), ['class' => 'form-control select2', 'required' => '']) !!}

@if($errors->has('category_id'))

{{ $errors->first('category_id') }}

@endif
{!! Form::label('content', trans('global.client-projects.fields.description').'', ['class' => 'control-label']) !!} {!! Form::textarea('content', old('content'), ['class' => 'form-control editor', 'placeholder' => 'Description']) !!}

@if($errors->has('content'))

{{ $errors->first('content') }}

@endif