<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">
        @if(isset($modal))
                <div>
                        <button type="button" class="tag-cs unset-modal-overlay" data-toggle="modal" data-target="#deleteModal">戻る
                        </button>
                </div>
                @include("admin.objects.components.modal_confirm_delete", ['message' => '保存しますか？', 'id' => '', 'registLot' => true, 'url' => $action])
        @else
                <form action="{{ $action }}" method="{{ $method }}">
                        @if($method == "post")
                                @csrf
                                @if(isset($current_params) && !empty($current_params))
                                        @foreach($current_params as $key => $value)
                                                @if(is_array($value))
                                                        @foreach($value as $k => $v)
                                                                <input type="hidden" name="{{ $key }}[]" value="{{ $v }}">
                                                        @endforeach
                                                @else
                                                        <input type="hidden" name="{{ $key }}" value="{{ $value }}">
                                                @endif
                                        @endforeach
                                @endif
                                <div>
                                        <button class="tag-cs">戻る</button>
                                </div>
                        @else
                                <div><a href="{{ $action }}" class="tag-cs">戻る</a></div>
                        @endif
                </form>
        @endif
</div>
