@extends('worldexpansion.layout') @section('title') {{ $type->name }} @endsection @section('content') {!! breadcrumbs(['World' => 'world', 'Locations Types' => 'world/location-types', $type->names => 'world/locations/' . $type->id]) !!}

{!! $type->displayName !!} ({!! $type->names !!})

@if ($type->image_extension)
@endif @isset($type->summary)
{!! $type->summary !!}
@endisset
@if (count($type->locations))
All {{ $type->names }} ({{ count($type->locations) }})

@foreach ($type->locations->groupBy('type_id') as $group => $locations) @foreach ($locations as $key => $child)

{!! $child->fullDisplayNameUC !!} @if ($child->parent) (part of {!! $child->parent->fullDisplayName !!}) @endif

@endforeach @endforeach
@else
There aren't any {{ $type->names }} yet
@endif
@isset($type->parsed_description)
{!! $type->parsed_description !!}
@endisset @endsection