<?php $__env->startSection('title', 'Parametres du site'); ?>

<?php $__env->startSection('content'); ?>
    <h1>Parametres du site</h1>
    <p class="muted">Liens de contact essentiels uniquement : WhatsApp, email affiche et Calendly.</p>

    <div class="card">
        <form method="post" action="<?php echo e(route('admin.settings.update')); ?>">
            <?php echo csrf_field(); ?>
            <?php echo method_field('PUT'); ?>

            <?php $__currentLoopData = $fields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <label for="set_<?php echo e($key); ?>"><?php echo e($field['label']); ?></label>
                <?php if(str_ends_with($key, '_text') || str_ends_with($key, '_sub')): ?>
                    <textarea id="set_<?php echo e($key); ?>" name="<?php echo e($key); ?>" rows="3"><?php echo e(old($key, $field['value'])); ?></textarea>
                <?php else: ?>
                    <input id="set_<?php echo e($key); ?>" type="text" name="<?php echo e($key); ?>" value="<?php echo e(old($key, $field['value'])); ?>" maxlength="2048">
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            <button type="submit" class="btn">Enregistrer</button>
        </form>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Softsys\new_pirras\resources\views/admin/settings/edit.blade.php ENDPATH**/ ?>