<x-app-layout>
    <x-slot name="header">
        <h2 class="h4 mb-0">Edit Pemilih</h2>
    </x-slot>

    <div class="card" style="max-width: 600px;">
        <div class="card-body">
            <form action="{{ route('admin-desa.voter.update', $voter) }}" method="POST">
                @csrf @method('PUT')
                @include('pilkades::admin-desa.voter.form', ['voter' => $voter])
                <button class="btn btn-primary">Simpan Perubahan</button>
            </form>
        </div>
    </div>
</x-app-layout>
