<style>
        .flex-center {
                display: flex;
                align-items: center;
                justify-content: space-between;
        }

        .tag-cs {
                background: #fff;
                border-radius: 3px 0 0 3px;
                color: #999;
                display: inline-block;
                height: 40px;
                line-height: 40px;
                padding: 0 20px 0 23px;
                position: relative;
                margin-left: 16px;
                text-decoration: none;
                -webkit-transition: color 0.2s;
                border: 1px solid #ccc;
                cursor: pointer;
        }


        .tag-cs::after {
                border-bottom: 19px solid transparent;
                border-right: 16px solid #fff;
                border-top: 19px solid transparent;
                content: '';
                position: absolute;
                left: -15px;
                top: 0;
                z-index: 3;
        }

        .tag-cs::before {
                background: #f8f6f5;
                border-bottom: 20px solid transparent;
                border-right: 17px solid #ccc;
                border-top: 20px solid transparent;
                content: '';
                position: absolute;
                left: -17px;
                top: -1px;
                z-index: 3;
        }

        .tag-cs:focus {
                outline: 0;
        }
</style>
<div class="flex-center" style="position: absolute">
        <?php if(isset($modal)): ?>
                <div>
                        <button type="button" class="tag-cs unset-modal-overlay" data-toggle="modal" data-target="#deleteModal">戻る
                        </button>
                </div>
                <?php echo $__env->make("admin.objects.components.modal_confirm_delete", ['message' => '保存しますか？', 'id' => '', 'registLot' => true, 'url' => $action], \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php else: ?>
                <form action="<?php echo e($action); ?>" method="<?php echo e($method); ?>">
                        <?php if($method == "post"): ?>
                                <?php echo csrf_field(); ?>
                                <?php if(isset($current_params) && !empty($current_params)): ?>
                                        <?php $__currentLoopData = $current_params; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if(is_array($value)): ?>
                                                        <?php $__currentLoopData = $value; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $v): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                <input type="hidden" name="<?php echo e($key); ?>[]" value="<?php echo e($v); ?>">
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                <?php else: ?>
                                                        <input type="hidden" name="<?php echo e($key); ?>" value="<?php echo e($value); ?>">
                                                <?php endif; ?>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php endif; ?>
                                <div>
                                        <button class="tag-cs">戻る</button>
                                </div>
                        <?php else: ?>
                                <div><a href="<?php echo e($action); ?>" class="tag-cs">戻る</a></div>
                        <?php endif; ?>
                </form>
        <?php endif; ?>
</div>
