Skip to content

Instantly share code, notes, and snippets.

@beradrian
Created July 27, 2015 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beradrian/5fba454ec0533bc26cbd to your computer and use it in GitHub Desktop.
Save beradrian/5fba454ec0533bc26cbd to your computer and use it in GitHub Desktop.
<select >
<option th:each="year : ${#numbers.sequence(1900, #dates.year(#dates.createNow()))}"
th:value="${year}" th:text="${year}">
</option>
</select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment