@extends('layouts.admin')

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

@section('content')
<h2 class="mb-4">Edit Peserta</h2>
<div class="card"><div class="card-body">
    <form action="{{ route('admin.participants.update', $participant) }}" method="POST">
        @csrf @method('PUT')
        @include('admin.participants._form', ['participant' => $participant])
        <button type="submit" class="btn btn-esijil">Kemas Kini</button>
        <a href="{{ route('admin.participants.index') }}" class="btn btn-outline-secondary">Kembali</a>
    </form>
</div></div>
@endsection
