@extends('layouts/contentNavbarLayout') @section('title', 'Edit Challenge Map') @section('content')
Edit Map: {{ $map->name }}
Back to Maps
@csrf @method('DELETE')
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('image')
{{ $message }}
@enderror @if($map->image)
Current image:
Current map image
@endif
@error('description')
{{ $message }}
@enderror
Checkpoints

Edit checkpoints for your challenge map. The total steps will be calculated automatically.

@foreach($map->checkpoints as $index => $checkpoint)
Checkpoint {{ $index + 1 }}
@if($checkpoint->active_image)
Current:
Active image
@endif
@if($checkpoint->not_reached_image)
Current:
Not reached image
@endif
@endforeach
Total steps: 0
Cancel
@endsection