@extends('layouts.base') @php $locale = app()->getLocale(); //$locale = 'fr'; // Forcer le français pour l'instant $iconBase = "assets/icons/{$locale}"; @endphp @include('partials.bottom_nav', [ 'bottomTabs' => [ [ 'icon' => "map_picto.svg", 'label' => __('Map'), 'href' => lr('startmap'), ], [ 'icon' => "myV_picto.svg", 'label' => __('My waypoints'), 'href' => lr('search'), 'primary' => false, ], ], ]) @section('title','Mes waypoints') @section('content') {{-- Leaflet CSS (CDN) --}}
{{--

{{ __('Back') }} {{ __('Create a waypoint') }}

{{ __('Click on the map to pre-fill the form, then complete the waypoint details and save.') }}

@if(session('ok'))
{{ session('ok') }}
@endif --}}
{{-- Bouton "Create a waypoint" attaché à la carte --}} {{-- --}}
{{-- Error messages --}} @if ($errors->any())
{{ __('An error has occurred') }} :
@endif {{-- Form --}}
@csrf
@if(count($availablePins) > 1) @foreach($availablePins as $fn) @endforeach @else @endif
@php $user = auth()->user(); @endphp
{{--
--}}
{{-- --}}
{{--
--}}
{{ __('Cancel') }}
{{-- @if($errors->has('global')) @endif --}} {{-- Leaflet JS (CDN) – load before your script --}} {{-- Leaflet Geocoder (CDN) --}} @endsection