<div class="modal fade" id="{{ $id }}-modal" tabindex="-1" role="dialog" aria-labelledby="{{ $id }}" aria-hidden="true">
    <div class="modal-dialog  modal-dialog-centered" role="document">
        <form id="{{ $id }}-form" method="POST" class="d-inline" data-url="{{ route('tour.rewatch') }}">
            @csrf
            @method($method)
            <div class="modal-content custom-rounded-edges">
                <div class="modal-header">
                    <h5 class="modal-title" id="{{ $id }}Label" style="color: #007aff;font-size: 20px;font-weight:600">
                        {{ $modal_title
                        }}</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <p>You can rewatch this guided tour at any time. Choose one of the following options:</p>

                    <div class="form-check">
                        <input class="form-check-input" type="radio" name="start" id="from-begin" value="begin" checked>
                        <label class="form-check-label" for="from-begin">
                            Watch from the beginning.
                        </label>
                    </div>
                    <div class="form-check">
                        <input class="form-check-input" type="radio" name="start" id="from-last-step" value="last">
                        <label class="form-check-label" for="from-last-step">
                            Watch from where you left off.
                        </label>
                    </div>
                </div>
                <div class="text-center mb-4">
                    <button type="button" class="btn btn-primary mx-2 px-5" id="saveBtn-{{ $id }}">
                        Start
                    </button>
                    <button type="button" class="btn btn-light mx-2 px-5" data-dismiss="modal" id="cancelBtn-{{ $id }}">
                        Cancel
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>
