@extends('admin.layouts.layout') @section('content')

{{ empty($editBlogsData[0]->id) ? 'Add' : 'Edit' }} Blogs

@if(empty($editBlogsData[0]->id))
@else @endif @csrf
@if ($errors->has('title')){{ $errors->first('title') }}@endif
@if ($errors->has('sub_title')){{ $errors->first('sub_title') }}@endif
@if ($errors->has('image')){{ $errors->first('blog_image') }}@endif
@if(!empty($editBlogsData[0]->image)) @endif
@if ($errors->has('description')){{ $errors->first('description') }}@endif
@if ($errors->has('content')){{ $errors->first('content') }}@endif
@if ($errors->has('meta_tag')){{ $errors->first('meta_tag') }}@endif
@if ($errors->has('meta_description')){{ $errors->first('meta_description') }}@endif
Cancel
@endsection @section('pagescriptcode') @endsection