@extends('admin.layout.app') @section('content') Pages Pages @include('admin.layout.session') Landing Page Back @if(empty($landing_page)) @csrf @else @csrf @method('PUT') @endif Page 1 Title @if ($errors->has('page1_title')) {{ $errors->first('page1_title') }} @endif Page 1 Content {!! empty($landing_page) ? old('page1_content') : $landing_page->page1_content !!} @if ($errors->has('page1_content')) {{ $errors->first('page1_content') }} @endif Page 2 Title @if ($errors->has('page2_title')) {{ $errors->first('page2_title') }} @endif Page 2 Content {!! empty($landing_page) ? old('page2_content') : $landing_page->page2_content !!} @if ($errors->has('page2_content')) {{ $errors->first('page2_content') }} @endif Page 3 Title @if ($errors->has('page3_title')) {{ $errors->first('page3_title') }} @endif Page 3 Content {!! empty($landing_page) ? old('page3_content') : $landing_page->page3_content !!} @if ($errors->has('page3_content')) {{ $errors->first('page3_content') }} @endif status == '1' ? 'checked' : '' : 'checked' }}> Active status == '0' ? 'checked' : '' : '' }}> Deactive @if ($errors->has('status')) {{ $errors->first('status') }} @endif Submit Back @endsection @push('js') @endpush