diff options
author | 2016-12-12 14:58:52 +0300 | |
---|---|---|
committer | 2016-12-12 14:58:52 +0300 | |
commit | 8a6e92fb858ea030dd8d4a1ac5da3c0ca9587b81 (patch) | |
tree | ab531d92989b5c48e3772a208d0f00c8ba078ac3 /juick-spring-www/src | |
parent | 2ab55ec4cc52f45b5296fd888359d48804045f44 (diff) |
juick-spring-www: fix tags and password templates
Diffstat (limited to 'juick-spring-www/src')
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html | 6 | ||||
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html | 20 |
2 files changed, 14 insertions, 12 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html index 4d05b7fb..28ccadea 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html @@ -1,3 +1,3 @@ -{% for tag in tags %} - <a href="/tag/{{ tag | urlencode }}" title="{{ tag }}">{{ tag }}</a> -{% endfor %}
\ No newline at end of file +<th:block th:each="tag:${tags}"> + <a th:href="|/tag/${tag}|" th:title="${tag}" th:text="${tag}">Tag</a> +</th:block>
\ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html index d1e7e075..c76363e5 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html @@ -8,15 +8,17 @@ <body> <section id="content"> - <fieldset> - <legend>Changing your password</legend> - <form action="/settings" method="post"> - <input type="hidden" name="page" value="password"/> - <p>Change password: <input type="password" name="password" size="8"/> <input type="submit" - value=" Update "/><br/> - <i>(max. length - 16 symbols)</i></p> - </form> - </fieldset> + <article layout:fragment="content"> + <fieldset> + <legend>Changing your password</legend> + <form action="/settings" method="post"> + <input type="hidden" name="page" value="password"/> + <p>Change password: <input type="password" name="password" size="8"/> <input type="submit" + value=" Update "/><br/> + <i>(max. length - 16 symbols)</i></p> + </form> + </fieldset> + </article> </section> <aside id="column"> <p layout:fragment="column" th:replace="views/partial/settings_tabs">Settings navigation</p> |