@auth
<!-- 내 평점·후기 등록/수정 -->
<div id="movieReviewWrite">
    <div class="modal fade" id="movieReviewWriteModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="movieReviewWriteModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
            <div class="modal-content">
                <div class="modal-header bg-dark text-white">
                    <h5 class="modal-title" id="movieReviewWriteModalLabel">내 평점 등록</h5>
                    <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <form id="fMovieReviewWrite" method="post" accept-charset="UTF-8">
                        @csrf
                        <input type="hidden" name="mid" value=""/>
                        <input type="hidden" name="rid" value=""/>
                        <input type="hidden" name="rate" value="0"/>
                        <input type="hidden" name="mode" value=""/>
                        <dl id="rateYo">
                            <dt>
                                <h4>@isset($movieNm) {{ $movieNm }} @endisset</h4>
                            </dt>
                            <dd>
                                <div class="row align-items-end justify-content-center">
                                    <div class="col-auto">
                                        <span id="reviewRate"></span>
                                    </div>
                                    <div class="col-auto ps-0">
                                        <span id="reviewValue">0</span><strong>점</strong>
                                    </div>
                                </div>
                            </dd>
                        </dl>
                        <label for="reviewContent" class="form-label">영화 감상 후기</label>
                        <textarea name="content" id="reviewContent" class="form-control" rows="5" maxlength="1000" placeholder="감상평을 남겨주세요. 영화와 상관없는 내용은 약관에 의해 제재를 받을 수 있습니다."></textarea>
                        <div class="mt-1 form-text">
                            <span id="reviewContentLength"></span>
                            <span>/</span>
                            <span>1000</span>
                        </div>
                    </form>
                </div>
                <div class="modal-footer justify-content-center">
                    <button type="submit" name="btn_review_submit" class="btn btn-success" form="fMovieReviewWrite">확인</button>
                    <button type="button" name="btn_review_cancel" class="btn btn-default" form="fMovieReviewWrite" data-bs-dismiss="modal">취소</button>
                </div>
            </div>
        </div>
    </div>
</div>
@endauth
