

<?php $__env->startSection('content'); ?>
    <section class="py-4">
        <div class="container-fluid px-lg-4">

            
            <h4 class="fw-bold mb-3">Edit Profil Sekolah</h4>

            
            <?php if(session('success')): ?>
                <div class="alert alert-success alert-dismissible fade show" role="alert">
                    <?php echo e(session('success')); ?>

                    <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
                </div>
            <?php endif; ?>

            
            <form method="POST" action="/admin/profil" class="card shadow-sm">
                <?php echo csrf_field(); ?>

                <div class="card-body">

                    
                    <div class="mb-3">
                        <label class="form-label fw-semibold">Nama Sekolah</label>
                        <input type="text" name="nama_sekolah" class="form-control" placeholder="Contoh: SMAN 2 Majujaya"
                            value="<?php echo e($profile->nama_sekolah ?? ''); ?>" required>
                    </div>

                    
                    <div class="mb-3">
                        <label class="form-label fw-semibold">Sejarah Sekolah</label>
                        <textarea name="sejarah" rows="4" class="form-control" placeholder="Tuliskan sejarah singkat sekolah"><?php echo e($profile->sejarah ?? ''); ?></textarea>
                    </div>

                    
                    <div class="mb-3">
                        <label class="form-label fw-semibold">Visi Sekolah</label>
                        <textarea name="visi" rows="3" class="form-control" placeholder="Tuliskan visi sekolah"><?php echo e($profile->visi ?? ''); ?></textarea>
                    </div>

                    
                    <div class="mb-4">
                        <label class="form-label fw-semibold">Misi Sekolah</label>
                        <textarea name="misi" rows="5" class="form-control" placeholder="Tuliskan misi sekolah (boleh per baris)"><?php echo e($profile->misi ?? ''); ?></textarea>
                    </div>

                    
                    <div class="text-end">
                        <button class="btn btn-danger px-4">
                            Simpan Perubahan
                        </button>
                    </div>

                </div>
            </form>

        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\laragon\www\websekolah\resources\views/admin/profil/edit.blade.php ENDPATH**/ ?>