@extends('worldexpansion.layout')
@section('title')
{{ $location->style }}
@endsection
@section('content')
{!! breadcrumbs(['World' => 'world', 'Locations' => 'world/locations', $location->style => 'world/locations/' . $location->id, 'Gallery Submissions' => 'world/locations/' . $location->id . '/submissions']) !!}
{!! $location->fullDisplayNameUC !!}
{!! ucfirst($location->type->displayName) !!} {!! $location->parent ? 'inside ' . $location->parent->displayName : '' !!}
@if ($location->image_extension)
@endif
@isset($location->summary)
{!! $location->summary !!}
@endisset
@if (count($submissions))
@foreach ($submissions->sortByDesc('created_at') as $submission)
@include('galleries._thumb', ['submission' => $submission, 'gallery' => true])
@endforeach
{!! $submissions->render() !!}
@endif
{{ $submissions->total() }} result{{ $submissions->total() == 1 ? '' : 's' }} found.
@endsection