- Заменил шаблонизатор Mustache на Freemarker.

https://www.youtube.com/watch?v=8MlXahJXLFg&list=PLU2ftbIeotGpAYRP9Iv2KLIwK36-o_qYk&index=7
This commit is contained in:
Leonid
2025-02-08 22:38:07 +03:00
parent c771dee930
commit 8d7cbcc165
14 changed files with 106 additions and 113 deletions

View File

@@ -0,0 +1,15 @@
<#macro login path>
<form action="${path}" method="post">
<div><label> User Name : <input type="text" name="username"/> </label></div>
<div><label> Password: <input type="password" name="password"/> </label></div>
<div><input type="submit" value="Sign in"/></div>
<input type="hidden" name="_csrf" value="${_csrf.token}" />
</form>
</#macro>
<#macro logout>
<form action="/logout" method="post">
<input type="hidden" name="_csrf" value="${_csrf.token}" />
<input type="submit" value="Sign Out"/>
</form>
</#macro>