@extends('admin.layouts.admin') @section('content')
@if($action == 'Edit')
@else @endif @csrf
@if(isset($record->id)) @php $id=$record->id @endphp @else @php $id=0; @endphp @endif
{{ $title }}
@if(isset($record->name)) @php $name=$record->name @endphp @elseif(old('name')) @php $name=old('name'); @endphp @else @php $name=''; @endphp @endif
@if(isset($record->parent_id)) @php $parent_id=$record->parent_id @endphp @elseif(old('parent_id')) @php $parent_id=old('parent_id'); @endphp @else @php $parent_id=0; @endphp @endif
@if(isset($record->alias)) @php $alias=$record->alias @endphp @elseif(old('alias')) @php $alias=old('alias'); @endphp @else @php $alias=''; @endphp @endif
@if(isset($record->description)) @php $description=$record->description @endphp @elseif(old('description')) @php $description=old('description'); @endphp @else @php $description=''; @endphp @endif
@if(isset($record->rank)) @php $rank=$record->rank @endphp @elseif(old('rank')) @php $rank=old('rank'); @endphp @else @php $rank=''; @endphp @endif
@if(isset($record->active)) @php $active=$record->active @endphp @elseif(old('active')) @php $active=old('active'); @endphp @else @php $active=1; @endphp @endif
Category SEO Detail
@if(isset($record->meta_title)) @php $meta_title=$record->meta_title @endphp @elseif(old('meta_title')) @php $meta_title=old('meta_title'); @endphp @else @php $meta_title=''; @endphp @endif
@if(isset($record->meta_keyword)) @php $meta_keyword=$record->meta_keyword @endphp @elseif(old('meta_keyword')) @php $meta_keyword=old('meta_keyword'); @endphp @else @php $meta_keyword=''; @endphp @endif
@if(isset($record->og_title)) @php $og_title=$record->og_title @endphp @elseif(old('og_title')) @php $og_title=old('og_title'); @endphp @else @php $og_title=''; @endphp @endif
@if(isset($record->meta_description)) @php $meta_description=$record->meta_description @endphp @elseif(old('meta_description')) @php $meta_description=old('meta_description'); @endphp @else @php $meta_description=''; @endphp @endif
@if(isset($record->og_description)) @php $og_description=$record->og_description @endphp @elseif(old('og_description')) @php $og_description=old('og_description'); @endphp @else @php $og_description=''; @endphp @endif
@endsection @push('scripts') @endpush