1/input
<input type="text" class="form-control1" id="name" name="name" th:value="${user.name}">
2/select
<label class="col-sm-2 control-label">類別</label>
<div class="col-sm-8">
<select name="cId" id="cId" class="form-control1" >
<option value="1" th:field="*{book.cId}">目錄1</option>
<option value="2" th:field="*{book.cId}">目錄2</option>
<option value="3" th:field="*{book.cId}">目錄3</option>
<option value="4" th:field="*{book.cId}">目錄4</option>
</select>
</div>
3/radio
<label for="isBoy" class="col-sm-2 control-label">是否男生</label>
<div id="isBoy" class="col-sm-8">
<div class="radio-inline">
<label><input name="isBoy" type="radio" value="1" th:field="{book.isBoy}"/> 否</label>
</div>
<div class="radio-inline">
<label><input name="isBoy" type="radio" value="0" th:field="{book.isBoy}"/> 是</label>
</div>
</div>