Thymeleaf一些标签的传字符串/message/消息
生活随笔
收集整理的這篇文章主要介紹了
Thymeleaf一些标签的传字符串/message/消息
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
label
th:placeholder="#{}"實現
<label class="sr-only" for="signup-email" th:placeholder="#{signUp.name}"></label>a
直接使用[[#{}]]放在標簽中間即可
<a href="#" class="app-link" >[[#{signUp.terms}]]</a >input
th:placeholder="#{}"實現
<input id="signup-email" name="signup-email" type="email" class="form-control signup-email" th:placeholder="#{signUp.email}" required="required">h
th:text="#{}"實現
<h2 class="auth-heading text-center mb-4" th:text="#{signUp.tips}"></h2>總結
以上是生活随笔為你收集整理的Thymeleaf一些标签的传字符串/message/消息的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: arcgis批量处理nc文件_法律行业p
- 下一篇: NullPointerException