summaryrefslogtreecommitdiffhomepage
path: root/backend/src/main/resources/templates/auth
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-07-28 20:00:49 -0400
committerrealtradam <[email protected]>2024-07-28 20:00:49 -0400
commitfc34d9853386b6dbf270a10862a47a052f1fb151 (patch)
tree20ebca59324d88eab8b867306dd251a27cd91699 /backend/src/main/resources/templates/auth
parentc24839e8f8b4b6868f8ee383b589ce01dcdc81e1 (diff)
downloadspring-blog-dev.tar.gz
spring-blog-dev.zip
code cleanupdev
Diffstat (limited to 'backend/src/main/resources/templates/auth')
-rw-r--r--backend/src/main/resources/templates/auth/login.html4
-rw-r--r--backend/src/main/resources/templates/auth/register.html13
2 files changed, 12 insertions, 5 deletions
diff --git a/backend/src/main/resources/templates/auth/login.html b/backend/src/main/resources/templates/auth/login.html
index 47bc63e..1eaa5f9 100644
--- a/backend/src/main/resources/templates/auth/login.html
+++ b/backend/src/main/resources/templates/auth/login.html
@@ -39,7 +39,9 @@
</div>
<div class="flex flex-wrap mb-2">
</div>
- <button type="submit" value="Log in" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Log In</button>
+ <button type="submit" value="Log in"
+ class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Log In
+ </button>
</form>
</div>
diff --git a/backend/src/main/resources/templates/auth/register.html b/backend/src/main/resources/templates/auth/register.html
index dc57ca4..89153e2 100644
--- a/backend/src/main/resources/templates/auth/register.html
+++ b/backend/src/main/resources/templates/auth/register.html
@@ -21,7 +21,8 @@
name="username"
th:field="*{username}"
placeholder="Ted">
- <p th:if="${#fields.hasErrors('username')}" th:errors="*{username}" class="text-red-500 text-xs italic">Please fill out this field.</p>
+ <p th:if="${#fields.hasErrors('username')}" th:errors="*{username}" class="text-red-500 text-xs italic">
+ Please fill out this field.</p>
</div>
<div class="w-full md:w-1/2 px-3">
<label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2"
@@ -34,7 +35,8 @@
name="email"
th:field="*{email}"
placeholder="[email protected]">
- <p th:if="${#fields.hasErrors('email')}" th:errors="*{email}" class="text-red-500 text-xs italic">Please fill out this field.</p>
+ <p th:if="${#fields.hasErrors('email')}" th:errors="*{email}" class="text-red-500 text-xs italic">Please
+ fill out this field.</p>
</div>
</div>
<div class="flex flex-wrap -mx-3 mb-6">
@@ -49,12 +51,15 @@
name="password"
th:field="*{password}"
placeholder="Doe">
- <p th:if="${#fields.hasErrors('password')}" th:errors="*{password}" class="text-red-500 text-xs italic">Please fill out this field.</p>
+ <p th:if="${#fields.hasErrors('password')}" th:errors="*{password}" class="text-red-500 text-xs italic">
+ Please fill out this field.</p>
</div>
</div>
<div class="flex flex-wrap mb-2">
</div>
- <button th:href="@{/register}" type="submit" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Register</button>
+ <button th:href="@{/register}" type="submit"
+ class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Register
+ </button>
</form>
</div>