Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

thymeleaf radio button

<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>
Source by www.thymeleaf.org #
 
PREVIOUS NEXT
Tagged: #thymeleaf #radio #button
ADD COMMENT
Topic
Name
8+9 =