diff options
| author | realtradam <[email protected]> | 2024-07-13 04:02:13 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-07-13 04:02:13 -0400 |
| commit | f0a93e706ac4188d5d754dafc17d389275d5993c (patch) | |
| tree | ab7dd67c9eb399100ffd8ea424766ae5d269b55f /src/main/resources/templates | |
| parent | ff63bacc647a20c59ce642a4d6b647c3a4290418 (diff) | |
| download | spring-blog-f0a93e706ac4188d5d754dafc17d389275d5993c.tar.gz spring-blog-f0a93e706ac4188d5d754dafc17d389275d5993c.zip | |
everything broke
Diffstat (limited to 'src/main/resources/templates')
| -rw-r--r-- | src/main/resources/templates/auth/register.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/auth/register.html b/src/main/resources/templates/auth/register.html index 4f8fd44..dc57ca4 100644 --- a/src/main/resources/templates/auth/register.html +++ b/src/main/resources/templates/auth/register.html @@ -8,7 +8,7 @@ <div class="flex justify-center bg-white p-12"> <div th:if="${param.fail}" class="text-xl p-4 bg-black text-red-500">Username or Email already exists</div> - <form th:action="@{/register/save}" th:object="${user}" method="post" class="w-full max-w-lg"> + <form th:action="@{/register/save}" th:object="${user}" role="form" method="post" class="w-full max-w-lg"> <div class="flex flex-wrap -mx-3 mb-6"> <div class="w-full md:w-1/2 px-3 mb-6 md:mb-0"> <label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2" @@ -54,7 +54,7 @@ </div> <div class="flex flex-wrap mb-2"> </div> - <button 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> |
