<?php $__env->startSection('content'); ?>
    <div class="content-page">
        <div class="content">
            <!-- Start Content-->
            <div class="container-fluid">

                <!-- start page title -->
                <div class="row">
                    <div class="col-12">
                        <div class="page-title-box">
                            <div class="page-title-right">
                                <ol class="breadcrumb m-0">
                                    <a href="#" class="btn btn-sm btn-dark waves-effect">
                                        <i class="dripicons-reply me-1"></i> Terms Page
                                    </a>
                                </ol>
                            </div>
                            <h4 class="page-title">Terms Page</h4>
                        </div>
                    </div>
                </div>

                <!-- end page title -->

                <div class="card">
                    <div class="card-body">
                        <?php if(isset($termspage) && isset($termspage->id)): ?>
                            <form action="<?php echo e(route('terms.update', $termspage->id)); ?>" method="POST"
                                enctype="multipart/form-data" class="needs-validation" novalidate>
                                <?php echo method_field('PUT'); ?>
                            <?php else: ?>
                                <form action="<?php echo e(route('terms.store')); ?>" method="POST" enctype="multipart/form-data"
                                    class="needs-validation" novalidate>
                        <?php endif; ?>

                        <?php echo csrf_field(); ?>

                        <div class="row">

                            <div class="mb-3 col-md-12">
                                <label class="form-label"> Terms & Conditions</label>
                                <textarea class="ckeditor" name="terms_condition" rows="8"><?php echo e(old('terms_condition', optional($termspage)->terms_condition)); ?></textarea>
                            </div>

                            <div class="mb-3 col-md-12">
                                <label class="form-label"> Privacy Policy</label>
                                <textarea class="ckeditor" name="privacy_policy" rows="8"><?php echo e(old('privacy_policy', optional($termspage)->privacy_policy)); ?></textarea>
                            </div>

                            <div class="mb-3 col-md-12">
                                <button class="btn btn-primary" type="submit">Submit</button>
                            </div>

                        </div>

                        </form>

                    </div>
                </div>
            </div>
        </div>

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

<?php echo $__env->make('backend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\tpl-groups\resources\views/backend/terms/index.blade.php ENDPATH**/ ?>