mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
11 lines
271 B
PHP
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>
|