{{-- The @extends directive informs Blade that we are using the layout we defined in resources/views/layouts/app.blade.php. --}} {{-- All of the content between @section('content') and @endsection will be injected into the location of the @yield('content') directive within the app.blade.php layout. --}} {{-- The @include('common.errors') directive will load the template located at resources/views/common/errors.blade.php. --}} @extends('layouts.app') @section('content')
@include('common.errors')
@csrf
@if ($cities->isNotEmpty())
Current Cities
@csrf
@foreach ($cities as $city) @endforeach
@csrf @method('delete')
{{ "{$city->location_name}, {$city->location_country}" }}
{{ $city->current_temperature }}°
{{ $city->weather_description }}
Wind Speed: {{ $city->wind_speed }} KM/h from {{ $city->wind_dir }}
@endif
@endsection