From 9faf43a6c4b933b5f97be4348d461bf91f5bf2e2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 24 Oct 2022 01:09:32 +0300 Subject: Spring Boot 3 --- src/main/resources/templates/layouts/default.html | 4 ++-- src/main/resources/templates/layouts/login.html | 3 ++- src/main/resources/templates/views/post.html | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/main/resources/templates') diff --git a/src/main/resources/templates/layouts/default.html b/src/main/resources/templates/layouts/default.html index a2665364..9167dbfb 100644 --- a/src/main/resources/templates/layouts/default.html +++ b/src/main/resources/templates/layouts/default.html @@ -35,7 +35,7 @@ - 0 %}data-hash="{{visitor.authHash}}" {% endif %}> + 0 %}data-hash="{{visitor.authHash}}" {% else %}data-token="{{_csrf.token}}" {% endif %}>
{% include "views/partial/navigation" %}
@@ -53,4 +53,4 @@
- \ No newline at end of file + diff --git a/src/main/resources/templates/layouts/login.html b/src/main/resources/templates/layouts/login.html index e89f6790..86eb45fa 100644 --- a/src/main/resources/templates/layouts/login.html +++ b/src/main/resources/templates/layouts/login.html @@ -266,6 +266,7 @@

{{ authErrorMessage | default('') }}

+ - \ No newline at end of file + diff --git a/src/main/resources/templates/views/post.html b/src/main/resources/templates/views/post.html index a77fa3bd..f1070d7a 100644 --- a/src/main/resources/templates/views/post.html +++ b/src/main/resources/templates/views/post.html @@ -5,6 +5,7 @@

Фото: + ({{ i18n("messages","postForm.imageFormats") }})

-- cgit v1.2.3