@extends('lap::layouts.auth') @section('title', 'Doc') @section('child-content')

@yield('title')

@can('Update Docs') Update @endcan @can('Delete Docs')
@csrf @method('DELETE')
@endcan
ID
{{ $doc->id }}
Type
{{ $doc->type }}
@if(!$doc->system)
Parent
{{ $doc->ancestors->implode('title', ' -> ') }}
@endif
Title
{{ $doc->title }}
@if($doc->type == 'Page')
Slug
{{ $doc->slug }}
@endif @if($doc->type != 'Menu Heading')
Content
{!! $doc->markdown() !!}
@endif
Created At
{{ $doc->created_at }}
Updated At
{{ $doc->updated_at }}
@endsection