BookStack/resources/views/pages/page-tree-sort.blade.php
2015-07-21 20:13:29 +01:00

11 lines
271 B
PHP

<li data-id="{{$page['id']}}">{{ $page['name'] }}
<ul>
@if($page['hasChildren'])
@foreach($page['pages'] as $childPage)
@include('pages/page-tree-sort', ['page'=>$childPage])
@endforeach
@endif
</ul>
</li>