@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => '']) {{-- Card Header & Tombol Action --}}
{{-- Form Content --}}
{{-- Form diarahkan menggunakan PUT untuk Edit --}}
@csrf @method('PUT')

Edit {{ $title_menu }}


{{-- BISA MENGGUNAKAN LAYOUT 2 KOLOM ATAU 1 KOLOM (Contoh di bawah 2 kolom) --}}
{{-- KOLOM KIRI --}}
{{-- Contoh Input Text --}}
@error('nama_lengkap')

{{ $message }}

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

{{ $message }}

@enderror
{{-- Contoh Input Date --}}
@error('tanggal_lahir')

{{ $message }}

@enderror
{{-- KOLOM KANAN --}}
{{-- Contoh Dropdown / Enum --}}
@error('jabatan')

{{ $message }}

@enderror
{{-- Contoh Input File (beserta info file lama jika ada) --}}
@if(!empty($list->dokumen))

File saat ini: Lihat File

@endif

*) Kosongkan jika tidak ingin mengubah file. Format file: pdf, jpg. Maks: 2MB.

@error('dokumen')

{{ $message }}

@enderror
{{-- Contoh Textarea --}}
@error('alamat')

{{ $message }}

@enderror
{{-- Akhir Row --}}
{{-- check flag js on dmenu --}} @if ($jsmenu == '1') @if (view()->exists("js.{$dmenu}")) @push('addjs') {{-- file js in folder (resources/views/js) --}} @include('js.' . $dmenu) @endpush @else @push('addjs') @endpush @endif @endif @endsection @push('js') @endpush