From 19de279ede660d38dd2a64f97d75324def3596c9 Mon Sep 17 00:00:00 2001 From: Arbeit Date: Sun, 25 Feb 2018 09:40:16 +0100 Subject: [PATCH] corrections --- src/resources/views/leaf.blade.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/resources/views/leaf.blade.php b/src/resources/views/leaf.blade.php index 5d863b6..b83c701 100644 --- a/src/resources/views/leaf.blade.php +++ b/src/resources/views/leaf.blade.php @@ -10,14 +10,16 @@ @if(array_key_exists('template',$leaf)) {{ $leaf['template'] }} @endif - @if(array_key_exists('template',$base)) - {{ $base['template'] }} + @if (isset($base)) + @if(array_key_exists('template',$base)) + {{ $base['template'] }} + @endif @endif @endsection @section('body') -@component('modules.layouts.header') +{{--@component('modules.layouts.header') @slot('title') {{ title_case($base['title']) }} @endslot @@ -43,7 +45,7 @@ @endforeach @endif -@endcomponent +@endcomponent--}} @section('main')