@extends('dashboard.layouts.master' ) @section('content') {{__('admin.Edit Journal')}} {{__('admin.Journals')}} {{__('admin.Edit Journal')}} {{ method_field('patch') }} {{ csrf_field() }} {{__('admin.Title')}} @if ($errors->has('title')) {{ $errors->first('title') }} @endif {{__('admin.image')}} @if ($errors->has('image')) {{ $errors->first('image') }} @endif {{__('admin.Description')}} {{$journal->description}} @if ($errors->has('description')) {{ $errors->first('description') }} @endif {{__('admin.nickname')}} @if ($errors->has('nickname')) {{ $errors->first('nickname') }} @endif {{__('admin.aim and scope')}} {{$journal->about}} @if ($errors->has('about')) {{ $errors->first('about') }} @endif {{__('front.Editorial Board')}} {{$journal->editorial_board}} @if ($errors->has('editorial_board')) {{ $errors->first('editorial_board') }} @endif {{__('front.Submitting Articles')}} {{$journal->submitting_articles}} @if ($errors->has('submitting_articles')) {{ $errors->first('submitting_articles') }} @endif {{__('front.Indexing Details')}} {{$journal->indexing_details}} @if ($errors->has('indexing_details')) {{ $errors->first('indexing_details') }} @endif {{----}} {{----}} {{--{{__('Categories')}}--}} {{----}} {{----}} {{--@foreach($categories as $key => $category)--}} {{----}} {{----}} {{--@if($key == 0)--}} {{----}} {{----}} {{--@else--}} {{----}} {{----}} {{--@endif--}} {{----}} {{--@endforeach--}} {{----}} {{--@if ($errors->has('Categories'))--}} {{----}} {{--{{ $errors->first('Categories') }}--}} {{----}} {{--@endif--}} {{----}} {{----}} {{__('admin.Category')}} @foreach ($categories as $category) id == $journal->category_id) selected @endif>{{$category->title}} @endforeach @if ($errors->has('category_id')) {{ $errors->first('category_id') }} @endif {{----}} {{----}} {{--Type --}} {{----}} {{----}} {{--@foreach ($types as $type)--}} {{--id == $journal->type_id) selected @endif>{{$type->title}}--}} {{--@endforeach--}} {{----}} {{--@if ($errors->has('type_id'))--}} {{----}} {{--{{ $errors->first('type_id') }}--}} {{----}} {{--@endif--}} {{----}} {{----}} {{__('admin.Fees')}} @if ($errors->has('fees')) {{ $errors->first('fees') }} @endif @if(count($journal->features) == 0) {{__('admin.Feature')}} @foreach ($features as $feature) {{$feature->title}} @endforeach @else @foreach($journal->features as $key => $featureItem) {{__('admin.Feature')}} @foreach ($features as $feature) id == $feature->id) selected @endif>{{$feature->title}} @endforeach @if($key == 0) @else @endif @endforeach @endif {{__('admin.Editor in chief')}} @if ($errors->has('editor')) {{ $errors->first('editor') }} @endif {{__('admin.Frequency')}} @if ($errors->has('freq')) {{ $errors->first('freq') }} @endif {{__('admin.doi')}} @if ($errors->has('doi')) {{ $errors->first('doi') }} @endif {{----}} {{__('admin.edit')}} @endsection @push('scripts') @endpush