@extends('layout.admin') @section('styles') @endsection @section('content')

Country / Edit

{{csrf_field()}}
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('short_description')) {{ $errors->first('short_description') }} @endif
@if ($errors->has('continent_id')) {{ $errors->first('continent_id') }} @endif
banner_enable === 1 ? 'checked' : '' }}> banner_enable === 0 ? 'checked' : '' }}>
banner_quote_enable == 1 ? 'checked' : '' }}> banner_quote_enable == 0 ? 'checked' : '' }}>
@if ($errors->has('banner_sub_heading')) {{ $errors->first('banner_sub_heading') }} @endif
@if ($errors->has('banner_heading')) {{ $errors->first('banner_heading') }} @endif
@if ($errors->has('banner_description')) {{ $errors->first('banner_description') }} @endif

Banner Image

(Recommended Size 500KB And For perfect view please Upload size of image 1920 * 679 ) @if($country->images && $country->images->count())
Existing Images:
@foreach($country->images as $image)
{{ $image->alt }} {{-- Delete Icon and Hidden Checkbox --}} × {{-- Alt Text --}} {{-- Title Text --}}
@endforeach
@endif @if ($errors->has('banner_image')) {{ $errors->first('banner_image') }} @endif

Thumbnail Image

(Recommended size: 401 × 402 pixels, Max file size: 500KB) @if ($errors->has('image_url')) {{ $errors->first('image_url') }} @endif @if($country->image_url) country Image @else country Image @endif
@if ($errors->has('image_alt')) {{ $errors->first('image_alt') }} @endif
@if ($errors->has('image_title')) {{ $errors->first('image_title') }} @endif

Page Listing

@if ($errors->has('page_sub_heading')) {{ $errors->first('page_sub_heading') }} @endif
@if ($errors->has('page_heading')) {{ $errors->first('page_heading') }} @endif
navbar_enable == '1' ? 'checked' : '' }}> navbar_enable == '0' ? 'checked' : '' }}>

Page Scroll Content

page_content_enable ?? '') == '1' ? 'checked' : '' }}> page_content_enable ?? '') == '0' ? 'checked' : '' }}>
(Recommended size:834 × 578 pixels, Max file size: 500KB) @if ($errors->has('page_image_url')) {{ $errors->first('page_image_url') }} @endif
@if($country->page_image_url) @else @endif
@if ($errors->has('page_image_alt')) {{ $errors->first('page_image_alt') }} @endif
@if ($errors->has('page_image_title')) {{ $errors->first('page_image_title') }} @endif
@if ($errors->has('page_description')) {{ $errors->first('page_description') }} @endif

FAQS

faqs_enable ?? '') == '1' ? 'checked' : '' }}> faqs_enable ?? '') == '0' ? 'checked' : '' }}>
@if ($errors->has('faqs_heading')) {{ $errors->first('faqs_heading') }} @endif
@if ($errors->has('faqs_subheading')) {{ $errors->first('faqs_subheading') }} @endif
@if ($errors->has('faqs_description')) {{ $errors->first('faqs_description') }} @endif
(Recommended size: 803 × 729 pixels, Max file size: 500KB) @if ($errors->has('faq_image_url')) {{ $errors->first('faq_image_url') }} @endif
@if($country->faq_image_url) @else @endif
@if ($errors->has('faq_image_alt')) {{ $errors->first('faq_image_alt') }} @endif
@php $faqs = json_decode($country->faqs, true) ?? []; @endphp @for ($i = 0; $i < 20; $i++) @php $question = $faqs[$i]['question'] ?? ''; $answer = $faqs[$i]['answer'] ?? ''; $shouldShow = ($i == 0) || !empty($question); $style = $shouldShow ? '' : 'display:none;'; @endphp
@endfor

Widgets/Modules Before Content

@if ($errors->has('widgets_content')) {{ $errors->first('widgets_content') }} @endif

Seo Friendly Fields

seo_content_enable ?? '') == '1' ? 'checked' : '' }}> seo_content_enable ?? '') == '0' ? 'checked' : '' }}>
@if ($errors->has('page_url')) {{ $errors->first('page_url') }} @endif
@if ($errors->has('browser_title')) {{ $errors->first('browser_title') }} @endif
@if ($errors->has('meta_keywords')) {{ $errors->first('meta_keywords') }} @endif
@if ($errors->has('meta_description')) {{ $errors->first('meta_description') }} @endif
@if ($errors->has('script')) {{ $errors->first('script') }} @endif
@if ($country->status == 0) @else @endif
@endsection @section('script') @endsection