@extends('layouts.app', [ 'title' => trans('locations.map.points.title', ['name' => $location->name]), 'description' => '', 'breadcrumbs' => [ ['url' => route('locations.index'), 'label' => trans('locations.index.title')], ['url' => route('locations.show', $location->id), 'label' => $location->name] ] ]) @section('content')
{{ trans('locations.map.points.return', ['name' => $location->name]) }}

{{ trans('locations.map.helper') }}

@include('partials.errors')
{{ $location->name }} @foreach ($location->mapPoints()->with('target')->get() as $point) @if ($point->target) @viewentity($point->target->entity)
@endviewentity @elseif (!$point->hasTarget())
@endif @endforeach
@endsection @section('scripts') @endsection