@extends('dashboard.layouts.master') @section('content') @php $keywords =explode(',', $resercher->keywords); @endphp {{__('research to')}} {{$resercher->journal?->title}} Researches {{__('Edit research')}} General {{ method_field('patch') }} {{ csrf_field() }} {{__('Title')}} @if ($errors->has('title')) {{ $errors->first('title') }} @endif {{__('Type')}} type == 'Survey') selected @endif>{{__('Survey')}} type == 'Short Review') selected @endif>{{__('Short Review')}} type == 'Review Paper') selected @endif>{{__('Review Paper')}} type == 'Full Article') selected @endif>{{__('Full Article')}} @if ($errors->has('type')) {{ $errors->first('type') }} @endif {{__('Summary')}} {{old('summary',$resercher->summary)}} @if ($errors->has('summary')) {{ $errors->first('summary') }} @endif {{__('Keywords')}} @foreach($keywords as $key => $keyword) @if($key == 0) @else @endif @endforeach @if ($errors->has('keywords')) {{ $errors->first('keywords') }} @endif {{__('References')}} {{old('reviewer',$resercher->reviewer)}} @if ($errors->has('reviewer')) {{ $errors->first('reviewer') }} @endif {{__('notes')}} {{old('description',$resercher->description)}} @if ($errors->has('description')) {{ $errors->first('description') }} @endif {{__('Upload File')}} @if ($errors->has('file')) {{ $errors->first('file') }} @endif {{$resercher->getMedia('attach_file')?->first()?->file_name}} {{__('featured')}} featured ==1) selected @endif>{{__('featured')}} featured ==0) selected @endif>{{__('not featured')}} @if ($errors->has('featured')) {{ $errors->first('featured') }} @endif {{__('year')}} {{__('page numbers')}} {{__('doi')}} {{__('view')}} {{__('download')}} {{__('Volume')}} {{__('Select Volume')}} @foreach($issues as $issue) id == $resercher->issue_id || $issue->id == $issuechild?->parent_id) selected @endif > {{$issue->name}} @endforeach @if ($errors->has('parent_id')) {{ $errors->first('parent_id') }} @endif {{__('Issue')}} @if ($errors->has('parent_id')) {{ $errors->first('parent_id') }} @endif {{__('published')}} published == 1) checked @endif/> Update @endsection @push('scripts') @endpush