<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
  <div class="modal-header">
    <h5 class="modal-title" id="arrestViewModalLabel">검거보고서</h5>
    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  </div>
  <div class="modal-body" id="searchViewBody">
    <th:block th:if="${#lists.isEmpty(boardInvestigationList)}">
      <div>검색된 보고서가 없습니다.</div>
    </th:block>
    <div th:each="boardInvestigation:${boardInvestigationList}">
      <input type="checkbox" class="reportChk" th:id="'reportChk'+${boardInvestigation.ivsgtKey}" th:name="${boardInvestigation.contentTitle}" th:value="${boardInvestigation.ivsgtKey}">
      <label th:for="'reportChk'+${boardInvestigation.ivsgtKey}" th:text="${boardInvestigation.contentTitle}"></label>
    </div>
  </div>
  <div class="modal-footer">
    <button type="button" class="btn btn-primary" id="completeBtn" data-bs-dismiss="modal">선택완료</button>
    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
  </div>
</html>