diff options
Diffstat (limited to 'backend/src/main/resources/templates/auth')
| -rw-r--r-- | backend/src/main/resources/templates/auth/login.html | 4 | ||||
| -rw-r--r-- | backend/src/main/resources/templates/auth/register.html | 13 |
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> |
