<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
      layout:decorate="~{layout/default_layout}">
<th:block layout:fragment="content">
  <script th:inline="javascript">
    window.puzzleData = [[${puzzle}]];
  </script>
  <div th:replace="~{fragments/game_template :: gameBody('nonogram', 'nonogramCanvas')}"></div>

  <script type="module" th:src="@{/js/pages/game_nonogram_canvas.js}"></script>
</th:block>
</html>
