@extends('layouts.main.main')
@section('title')
{{ $title }} Photo Gallery
@endsection
@section('content')
@include('layouts.admin.title',['title'=>$title.' | Photo Gallery'])
@if($nested == 1)
@if (count($folders)>0)
@foreach ($folders as $item)
@endforeach
@else
No Folders for Album {{ $title }}
@endif
@else
@if (count($gallery)>0)
@else
No Images Added in {{ $title }}
@endif
@endif
Photo Gallery
@if(isset($gallery))
@foreach ($gallery as $item)
@endforeach
@endif
@if(isset($gallery))
{{ $gallery->appends(['folder_id' => $album_id])->links("pagination::bootstrap-4")}}
@endif
@endsection