@extends($_ENV['admin-url'].'.layouts.main')
@section('title')
Pages
@stop
@section('styles')
@parent
@stop
@section('content')
@include('includes.notification')
@if($categories->isEmpty())
Vous devez d'abord créer une catégorie.
@else
@foreach($categories as $category)
@if($category->parent_id!=0)
@if($category->parent->parent_id!=0)
{{ $category->parent->getAttr('name').' > '.$category->name }}
@else
{{ $category->name }}
@endif
@if( ! $category->pages->isEmpty())
@foreach($category->pages as $page)
-
@if($category->id != 2)
@endif
{{ $page->name }}
@endforeach
@endif
Nouvelle page
@endif
@if($i%3==0)
@endif
@endforeach
@endif
@stop