
<?php $__env->startSection('title'); ?>
<title><?php echo e($websiteLang->where('lang_key','validation_language')->first()->custom_text); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>
    <!-- DataTales Example -->
    <div class="row">
        <div class="col-md-12">
            <div class="card shadow mb-4">
                <div class="card-header py-3">
                    <h6 class="m-0 font-weight-bold text-primary"><?php echo e($websiteLang->where('lang_key','validation_language')->first()->custom_text); ?></h6>
                </div>
                <div class="card-body">

                    <form action="<?php echo e(route('admin.update.validation.text')); ?>" method="post">
                    <?php echo csrf_field(); ?>
                    <table class="table table-bordered">
                        <?php $__currentLoopData = $validationTexts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $validationText): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td width="50%"><?php echo e(ucwords($validationText->default_text)); ?></td>
                            <td width="50%"><input type="text" name="customs[]" value="<?php echo e($validationText->custom_text); ?>" class="form-control"></td>
                            <input type="hidden" name="ids[]" value="<?php echo e($validationText->id); ?>">
                            <input type="hidden" name="defaults[]" value="<?php echo e($validationText->default_text); ?>">
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>



                    </table>
                    <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>
                </div>
            </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/cloudelite/imobi.eliteteclda.com/resources/views/admin/validation-text/index.blade.php ENDPATH**/ ?>