@extends('layouts.dashboard.template') @section('content')

Kelola {{ $pageTitle }}

@if(session('success')) @endif @if ($errors->any()) @endif
@csrf @method('PUT')
@php $icons = [ 'kurikulum' => 'bi-journal-text text-primary', 'kalender' => 'bi-calendar-check text-warning', 'pedoman' => 'bi-book text-success', 'sistem' => 'bi-laptop text-info', ]; $iconClass = $icons[$tipe] ?? 'bi-mortarboard text-primary'; @endphp
Formulir Informasi {{ $pageTitle }}
is_active) ? 'checked' : '' }}>
{{-- Judul & Subjudul --}}
{{-- Link URL / Portal Eksternal (Opsional) --}}
Jika diisi, pengunjung yang mengklik menu dapat langsung diarahkan ke portal tersebut.
{{-- Deskripsi Konten Lengkap --}}

{{-- Upload Dokumen & Banner --}}
{{-- Dokumen PDF/Doc --}}
File Dokumen Unduhan (PDF / DOC)
Format: PDF, DOC, DOCX, XLS (Maks. 20MB)
@if($item->file_dokumen)
{{ $item->file_nama ?: 'Dokumen Terlampir' }}
Unduh
@endif
{{-- Gambar Banner / Cover --}}
Gambar Banner / Infografis Cover
Format: JPEG, PNG, JPG, WEBP (Maks. 20 MB)
@if($item->gambar)
{{ $item->judul }}
Gambar saat ini terpasang
@endif
@endsection