<?php $__env->startPush('title', get_phrase('Blog Setting')); ?>
<?php $__env->startPush('meta'); ?><?php $__env->stopPush(); ?>
<?php $__env->startPush('css'); ?><?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
    <div class="ol-card radius-8px">
        <div class="ol-card-body my-3 py-4 px-20px">
            <div class="d-flex align-items-center justify-content-between gap-3 flex-wrap flex-md-nowrap">
                <h4 class="title fs-16px">
                    <i class="fi-rr-settings-sliders me-2"></i>
                    <span><?php echo e(get_phrase('Blog settings')); ?></span>
                </h4>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-6">
            <div class="ol-card p-4">
                <div class="ol-card-body">
                    <form action="<?php echo e(route('admin.blog.settings.update')); ?>" method="post" enctype="multipart/form-data"><?php echo csrf_field(); ?>
                        <div class="fpb-7 mb-3">
                            <label class="form-label ol-form-label"><?php echo e(get_phrase('Instructor permission')); ?></label>
                            <select class="form-control ol-form-control ol-select2" data-toggle="select2" name="instructors_blog_permission" required>
                                <option value=""><?php echo e(get_phrase('Select an option')); ?></option>
                                <option value="1" <?php if(get_frontend_settings('instructors_blog_permission') == 1): ?> selected <?php endif; ?>><?php echo e(get_phrase('Provide access')); ?></option>
                                <option value="0" <?php if(get_frontend_settings('instructors_blog_permission') == 0): ?> selected <?php endif; ?>><?php echo e(get_phrase('Decline access')); ?></option>
                            </select>
                        </div>

                        <div class="fpb-7 mb-3">
                            <label class="form-label ol-form-label"><?php echo e(get_phrase('Visibility on homepage')); ?></label>
                            <select class="form-control ol-form-control ol-select2" data-toggle="select2" name="blog_visibility_on_the_home_page" required>
                                <option value=""><?php echo e(get_phrase('Select an option')); ?></option>
                                <option value="1" <?php if(get_frontend_settings('blog_visibility_on_the_home_page') == 1): ?> selected <?php endif; ?>><?php echo e(get_phrase('Visible')); ?></option>
                                <option value="0" <?php if(get_frontend_settings('blog_visibility_on_the_home_page') == 0): ?> selected <?php endif; ?>><?php echo e(get_phrase('Hidden')); ?></option>
                            </select>
                        </div>

                        <div class="fpb7 mb-3">
                            <button class="ol-btn-primary" type="submit"><?php echo e(get_phrase('Save changes')); ?></button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?><?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/payraty/lms_main/resources/views/admin/blog/setting.blade.php ENDPATH**/ ?>