- Заменил шаблонизатор Mustache на Freemarker.
https://www.youtube.com/watch?v=8MlXahJXLFg&list=PLU2ftbIeotGpAYRP9Iv2KLIwK36-o_qYk&index=7
This commit is contained in:
8
src/main/resources/templates/login.ftl
Normal file
8
src/main/resources/templates/login.ftl
Normal file
@@ -0,0 +1,8 @@
|
||||
<#import "parts/common.ftl" as com>
|
||||
<#import "parts/login.ftl" as l>
|
||||
|
||||
<@com.page>
|
||||
Login page
|
||||
<@l.login "/login" />
|
||||
<a href="/registration">Add new user</a>
|
||||
</@com.page>
|
||||
Reference in New Issue
Block a user