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

Blog / Edit

{{csrf_field()}}
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($blog->featured == 0) @else @endif
@if ($errors->has('banner_heading')) {{ $errors->first('banner_heading') }} @endif
@if ($errors->has('banner_description')) {{ $errors->first('banner_description') }} @endif
(Recommended size: 1920 × 679 pixels, Max file size: 500KB) @if ($errors->has('banner_image_url')) {{ $errors->first('banner_image_url') }} @endif @if($blog->banner_image_url) @php $bannerUrl = $blog->banner_image_url; if ($bannerUrl && !filter_var($bannerUrl, FILTER_VALIDATE_URL)) { $bannerUrl = asset('media/' . $bannerUrl); } @endphp simple Image @else simple Image @endif
@if ($errors->has('banner_image_alt')) {{ $errors->first('banner_image_alt') }} @endif
@if ($errors->has('banner_image_title')) {{ $errors->first('banner_image_title') }} @endif
@if ($errors->has('short_description')) {{ $errors->first('short_description') }} @endif

Description

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

Thumbnail Image

(Recommended size: 589 × 325 pixels, Max file size: 500KB) @if ($errors->has('image_url')) {{ $errors->first('image_url') }} @endif @if($blog->image_url) @php $thumbnailUrl = $blog->image_url; if ($thumbnailUrl && !filter_var($thumbnailUrl, FILTER_VALIDATE_URL)) { $thumbnailUrl = asset('media/' . $thumbnailUrl); } @endphp blog Image @else blog Image @endif
@if ($errors->has('image_alt')) {{ $errors->first('image_alt') }} @endif
@if ($errors->has('image_title')) {{ $errors->first('image_title') }} @endif
@if ($errors->has('publish_date')) {{ $errors->first('publish_date') }} @endif

FAQS

faqs_enable ?? old('faqs_enable')) == '1' ? 'checked' : '' }}> faqs_enable ?? old('faqs_enable', '0')) == '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($blog->faq_image_url) @php $faqUrl = $blog->faq_image_url; if ($faqUrl && !filter_var($faqUrl, FILTER_VALIDATE_URL)) { $faqUrl = asset('media/' . $faqUrl); } @endphp faq Image @else faq Image @endif
@if ($errors->has('faq_image_alt')) {{ $errors->first('faq_image_alt') }} @endif
@php $faqs = json_decode($blog->faqs, true) ?? []; @endphp @for ($i = 0; $i < 20; $i++)
@endfor

Seo Friendly Fields

@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 ($blog->status == 0) @else @endif
@endsection @section('script') @endsection