The variables in your template need to be wrapped in a pair of [(..)]. Read the docs for more information: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#textual-template-modes
[(..)]