<form action="<?php echo e(route('admin.settings.plugin.update',$plugin->id)); ?>" method="post">
    <?php echo csrf_field(); ?>
    <h3 class="title mb-4"><?php echo e(__('Update').' '. $plugin->name); ?></h3>


    <?php $__currentLoopData = json_decode($plugin->data); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="site-input-groups">
            <label for="" class="box-input-label"><?php echo e(ucwords(str_replace('_',' ',$key))); ?></label>
            <input type="text" name="data[<?php echo e($key); ?>]" class="box-input mb-0" value="<?php echo e($value); ?>" required=""/>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


    <div class="site-input-groups">
        <label class="box-input-label" for=""><?php echo e(__('Status:')); ?></label>
        <div class="switch-field">
            <input
                type="radio"
                id="plugin-status"
                name="status"
                value="1"
                <?php if($plugin->status): ?> checked <?php endif; ?>
            />
            <label for="plugin-status"><?php echo e(__('Active')); ?></label>
            <input
                type="radio"
                id="plugin-status-no"
                name="status"
                value="0"
                <?php if(!$plugin->status): ?> checked <?php endif; ?>

            />
            <label for="plugin-status-no"><?php echo e(__('DeActive')); ?></label>
        </div>
    </div>

    <div class="action-btns">
        <button type="submit" class="site-btn-sm primary-btn me-2">
            <i icon-name="check"></i>
            <?php echo e(__(' Save Changes')); ?>

        </button>
        <a
            href="#"
            class="site-btn-sm red-btn"
            data-bs-dismiss="modal"
            aria-label="Close"
        >
            <i icon-name="x"></i>
            <?php echo e(__('Close')); ?>

        </a>
    </div>
</form>
<?php /**PATH /home/charslib/aogelon.com/resources/views/backend/setting/plugin/include/__plugin_data.blade.php ENDPATH**/ ?>