<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<th:block th:each="readUser, idx:${userList}">
<div class="row my-1 readUserRow" th:id="|row${idx.index}|">
  <input type="hidden" class="userSeq" th:name="${#strings.concat('readUserList[', idx.index,'].userSeq')}" th:value="${readUser.userSeq}">
  <input type="hidden" class="ogCd" th:name="${#strings.concat('readUserList[', idx.index,'].ogCd')}" th:value="${readUser.ogCd}">
  <input type="hidden" class="ofcCd" th:name="${#strings.concat('readUserList[', idx.index,'].ofcCd')}" th:value="${readUser.ofcCd}">
  <input type="hidden" class="titleCd" th:name="${#strings.concat('readUserList[', idx.index,'].titleCd')}" th:value="${readUser.titleCd}">
  <input type="hidden" class="userNm" th:name="${#strings.concat('readUserList[', idx.index,'].userNm')}" th:value="${readUser.userNm}">
  <div class="col-1 rowSeq" th:text="${idx.index+1}"></div>
  <div class="col-9">
    <th:block th:each="commonCode:${session.commonCode.get('OG')}">
      <th:block th:if="${commonCode.itemCd eq readUser.ogCd}" th:text="${commonCode.itemValue}"></th:block>
    </th:block>
    <th:block th:each="commonCode:${session.commonCode.get('OFC')}">
      <th:block th:if="${commonCode.itemCd eq readUser.ofcCd}" th:text="${commonCode.itemValue}"></th:block>
    </th:block>
    <!--<th:block th:each="commonCode:${session.commonCode.get('JT')}">
      <th:block th:if="${commonCode.itemCd eq readUser.titleCd}" th:text="|${commonCode.itemValue} ${readUser.userNm}|"></th:block>
    </th:block>-->
    <th:block th:text="${readUser.userNm}"></th:block>
  </div>
  <div class="col-2">
    <button type="button" class="btn btn-sm btn-outline-danger rowDeleteBtn"><i class="bi bi-x"></i></button>
  </div>
</div>
</th:block>
</html>