
<?php $__env->startSection('main'); ?>
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <?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" aria-label="Close"></button>
            </div>
            <?php endif; ?>

            <div class="card">
                <div class="card-header">
                    <h4>Support Settings</h4>
                </div>
                <div class="card-body">
                    <form method="POST" action="<?php echo e(route('admin.support.update')); ?>">
                        <?php echo csrf_field(); ?>
                        <div class="form-group mb-3">
                            <label for="telegram_link">Support team</label>
                            <input type="url" class="form-control" id="telegram_link" name="telegram_link" 
                                   value="<?php echo e($support->telegram_link); ?>" required>
                        </div>

                          <div class="form-group mb-3">
                            <label for="telegram_link">অনলাইন সেবা</label>
                            <input type="url" class="form-control" id="telegram_link_2" name="telegram_link_2" 
                                   value="<?php echo e($support->telegram_link_2); ?>" required>
                        </div>


                        <div class="form-group mb-3">
                            <label for="support_text">Support Text</label>
                            <textarea class="form-control" id="support_text" name="support_text" 
                                      rows="3" required><?php echo e($support->support_text); ?></textarea>
                        </div>
                        <button type="submit" class="btn btn-primary">Update</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    // Alert টি 5 সেকেন্ড পর অটোমেটিক বন্ধ হয়ে যাবে
    setTimeout(function() {
        $('.alert').fadeOut('slow');
    }, 5000);
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.admin_master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ctrapple/public_html/resources/views/admin/supports/edit.blade.php ENDPATH**/ ?>