Skip to content

Instantly share code, notes, and snippets.

@beradrian
Created July 27, 2015 09:02
Show Gist options
  • 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