<?php $__env->startSection('title'); ?> ##parent-placeholder-3c6de1b7dd91465d437ef415f94f36afc1fbc8a8## <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

                        <div class="page-title-box">
                            <div class="row align-items-center">
                                <div class="col-sm-6">
                                    <h4 class="page-title">Terms & Conditions</h4>
                                </div>
                            </div> <!-- end row -->
                        </div>
                        <!-- end page-title -->

                        <div class="row">
                            <div class="col-lg-12">
                                <div class="card m-b-30">
                                    <div class="card-body">
                                         <?php if(Session::has('success')): ?>
                            <div class="alert alert-success alert-dismissible col-md-6">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                <?php echo e(Session::get('success')); ?>

                            </div>
                        <?php elseif(Session::has('failed')): ?>
                            <div class="alert alert-danger alert-dismissible col-md-6">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                <?php echo e(Session::get('failed')); ?>

                            </div>
                        <?php endif; ?>
                                      
                                        <form class="" action="<?php echo URL::to('/admin/updateTerms'); ?>" method="post" enctype="multipart/form-data">
                                            <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                                            <div class="form-row">
                                                 <div class="form-group col-md-6">
                                                     <label>Title</label>
                                                     <input type="text" name='title' class="form-control" value="<?php echo $terms->title; ?>" />
                                                      <?php echo $errors->first("title", "<span class='text-danger'>:message</span>"); ?>

                                                 </div>
                                            </div>
                                            <div class="form-row">
                                                 <div class="form-group col-md-12">
                                                     <label>Content</label>
                                                     <textarea id="terms-page" name="content"><?php echo $terms->content; ?></textarea>
                                                     <?php echo $errors->first("content", "<span class='text-danger'>:message</span>"); ?>

                                                 </div>
                                            </div>
        
                                            <div class="form-group">
                                                <div>
                                                    <button type="submit" class="btn btn-primary waves-effect waves-light">
                                                        Submit
                                                    </button>
                                                </div>
                                            </div>
                                        </form>
        
                                    </div>
                                </div>
                            </div> <!-- end col -->
        
                          
                        </div> <!-- end row -->      

                        
<?php $__env->stopSection(); ?>  
<?php echo $__env->make('layouts.adminapp', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/techltdd/public_html/dictionary/resources/views/pages/terms.blade.php ENDPATH**/ ?>