<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/head :: head_fragment(title = 'サンプルアプリケーション')"></head>
<body>
  <div id="contents">
    <form th:action="@{/user/confirm}" method="post" th:object="${userForm}">
      <div>
        名前:<input type="text" name="name" th:field="*{name}"/>
        <div th:if="${#fields.hasErrors('name')}" th:errors="*{name}" style="color: red"></div>
      </div>
      <div>
        年齢:<input type="text" name="ag