@extends('layouts.app')

@section('title', 'Edit Route')

@section('content')
    <x-page-head title="Edit Route" subtitle="{{ $route->name }}">
        <x-slot:actions><a href="{{ route('extras.transport.index') }}" class="btn btn-outline">Back</a></x-slot:actions>
    </x-page-head>
    <x-panel>
        <form method="POST" action="{{ route('extras.transport.update', $route) }}">
            @csrf @method('PUT') @include('admin.transport._form')
            <button type="submit" class="btn btn-primary" style="margin-top:16px;">Update</button>
        </form>
    </x-panel>
@endsection
