Peter
0
Q:

thymeleaf radio button

<input type="checkbox" name="active" th:checked="${user.active}" />
0
<ul>
  <li th:each="ty : ${allTypes}">
    <input type="radio" th:field="*{type}" th:value="${ty}" />
    <label th:for="${#ids.prev('type')}" th:text="#{${'seedstarter.type.' + ty}}">Wireframe</label>
  </li>
</ul>
0

Tags

New to Communities?

Join the community