@extends('home') @section('title') {{ __('Categories') }} @endsection @section('styles') @endsection @section('content')
@if(isRoot()) {{ __('New') }} @endif
@foreach ($categories as $index => $item) @endforeach
{{ __('Title') }}
{{ $loop->index + 1 }} @if ($item->children()->count()) {{ $item->title }} @else @if ($item->depth > 1) {!! str_repeat('-',$item->depth) !!} {{ $item->title }} @else {{ $item->title }} @endif @endif
@endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/lib/markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/js/bootstrap-markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/jquery.validate.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/additional-methods.min.js') !!} @endsection