FEATURE: allow infinite subpages depth
This commit is contained in:
@@ -43,10 +43,7 @@
|
||||
<option value="">@lang('admin/contents.noParentPage')</option>
|
||||
|
||||
@foreach($rootPages as $rootPage)
|
||||
<option value="{{$rootPage->id}}"
|
||||
@if(old('parentId', $page->parentId) == $rootPage->id) selected @endif>
|
||||
{{$rootPage->title}}
|
||||
</option>
|
||||
@include('admin.content._partials.subpages', ['optionPage' => $rootPage, 'prefix' => ''])
|
||||
@endforeach
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user