<?php $__env->startSection('content'); ?>

    <!-- Form row -->
    <div class="row">
        <div class="col-xl-12 box-margin height-card">
            <div class="card card-body">
                <div class="d-md-flex justify-content-between align-items-center mb-20">
                    <h4 class="card-title"><?php echo e(__('content.edit')); ?>

                        <!-- Button -->
                        <a id="hoverButton" class="iyzi-btn"><i class="fas fa-camera"></i> <?php echo e(__('content.view_draft')); ?></a>
                        <!-- Modal -->
                        <div id="imageModal" class="border border-success iyzi-modal">
                            <img class="img-fluid " src="<?php echo e(asset('uploads/img/dummy/style/about-'.$item->style.'.jpg')); ?>" alt="draft image">
                        </div>
                    </h4>
                    <div>
                        <a href="<?php echo e(url()->previous()); ?>" class="btn btn-primary"><i class="fas fa-angle-left"></i> <?php echo e(__('content.back')); ?></a>
                    </div>
                </div>
                <?php if($demo_mode == "on"): ?>
                    <!-- Include Alert Blade -->
                    <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php else: ?>
                    <form action="<?php echo e(route('about.update_counter', $item->id)); ?>" method="POST">
                        <?php echo method_field('PUT'); ?>
                        <?php echo csrf_field(); ?>
                        <?php endif; ?>

                        <input name="style" type="hidden" value="<?php echo e($item->style); ?>">

                        <div class="row">
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="counter"><?php echo e(__('content.counter')); ?></label>
                                    <input type="text" name="counter" class="form-control" id="counter" value="<?php echo e($item->counter); ?>">
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="extra_text"><?php echo e(__('content.extra_text')); ?></label>
                                    <input type="text" name="extra_text" class="form-control" id="extra_text" value="<?php echo e($item->extra_text); ?>">
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="title"><?php echo e(__('content.title')); ?></label>
                                    <input type="text" name="title" class="form-control" id="title" value="<?php echo e($item->title); ?>">
                                    <small class="form-text text-muted"><?php echo e(__('content.recommended_tags')); ?>

                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('a', 'title')"><?php echo e(__('<a href="">')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('br', 'title')"><?php echo e(__('<br>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('b', 'title')"><?php echo e(__('<b>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('i', 'title')"><?php echo e(__('<i>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('span', 'title')"><?php echo e(__('<span>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('p', 'title')"><?php echo e(__('<p>')); ?></span>
                                    </small>
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="order"><?php echo e(__('content.order')); ?></label>
                                    <input type="number" name="order" class="form-control" id="order" value="<?php echo e($item->order); ?>" required>
                                </div>
                            </div>
                            <div class="col-md-12">
                                <button type="submit" class="btn btn-primary mr-2"><?php echo e(__('content.submit')); ?></button>
                            </div>
                        </div>
                    </form>
            </div>
        </div>
    </div>
    <!-- end row -->

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lltrusti/casinonexus.online/ajay/resources/views/admin/sections/about/edit_counter.blade.php ENDPATH**/ ?>