@auth
{{-- 평점·후기 신고하기 --}}
<div id="movieReviewBlame">
    <div class="modal fade" id="movieReviewBlameModal" tabindex="-1" aria-labelledby="movieReviewBlameModalLabel" 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="movieReviewBlameModalLabel">평점·후기 신고하기</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="fMovieReviewBlame" method="post" accept-charset="UTF-8">
                        @csrf
                        <input type="hidden" name="mid" value=""/>
                        <input type="hidden" name="rid" value=""/>
                        <div class="mb-3">
                            <label for="blameType" class="form-label">신고 유형</label>
                            <select name="blame_type" id="blameType" class="form-select">
                                <option value="">신고 유형을 선택해주세요.</option>
                                @foreach(MAP_BLAME_TYPE as $k => $v)
                                    <option value="{{ $k }}">{{ $v }}</option>
                                @endforeach
                            </select>
                        </div>
                        <div class="mb-3">
                            <label for="blameReason" class="form-label">신고 내용</label>
                            <textarea name="blame_reason" id="blameReason" class="form-control" rows="4" minlength="1" maxlength="1000" placeholder="신고 내용을 상세하게 입력해주세요."></textarea>
                        </div>
                    </form>
                </div>
                <div class="modal-footer justify-content-center">
                    <button type="submit" name="btn_blame_submit" class="btn btn-primary" form="fMovieReviewBlame">확인</button>
                    <button type="button" name="btn_blame_cancel" class="btn btn-secondary" form="fMovieReviewBlame" data-bs-dismiss="modal">취소</button>
                </div>
            </div>
        </div>
    </div>
</div>
@endauth
