@extends('layouts.admin')

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

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