@extends('admin.layout.tamplate') @section('content')
{{-- Header & Breadcrumb --}}
@include('admin.layout.breadcumb')
{{-- Form Action dinamis: Jika edit butuh parameter ID --}}
@csrf {{-- Method PUT wajib untuk update data --}} @if(isset($user)) @method('PUT') @endif
{{-- Bagian Informasi Utama --}}

Informasi Akun

{{-- Input Nama --}}
@error('name')

{{ $message }}

@enderror
{{-- Input Email --}}
@error('email')

{{ $message }}

@enderror
{{-- Pilih Role --}}
{{-- Bagian Keamanan --}}

Keamanan Kata Sandi

@if(isset($user))

* Kosongkan password jika tidak ingin mengganti password lama

@endif
{{-- Password --}}
@error('password')

{{ $message }}

@enderror
{{-- Konfirmasi Password --}}
{{-- Tombol Action --}}
Batal
@endsection