@extends('themes.base.layout') @section('title', $album->name) @php ($hasChildren = $album->children()->count() > 0) @section('breadcrumb') @include(Theme::viewName('partials.album_breadcrumb')) @endsection @section('content')
@can('edit', $album) @endcan @include(\App\Facade\Theme::viewName('partials.album_view_selector'))

{{ $album->name }}

{{ $album->description }}


@foreach ($photos as $photo)
@endforeach
{{ $photos->links() }}
@if ($hasChildren)

@lang('gallery.other_albums_heading', ['album_name' => $album->name])

@lang('gallery.other_albums_description')

@foreach ($album->children as $childAlbum)
@endforeach
@endif
@endsection