diff options
Diffstat (limited to 'src/main/resources/templates/login.html')
-rw-r--r-- | src/main/resources/templates/login.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html index 0893fa0..1bb2185 100644 --- a/src/main/resources/templates/login.html +++ b/src/main/resources/templates/login.html @@ -14,7 +14,6 @@ <h2 class="text-center mb-4">Login</h2> <hr /> - <div th:if="${param.error}" class="alert alert-danger alert-dismissible fade show" role="alert"> @@ -23,11 +22,17 @@ aria-label="Close"></button> </div> + <div th:if="${param.registerSuccess}" + class="alert alert-success alert-dismissible fade show" role="alert"> + <strong>Account Created Successfully!</strong> + <button type="button" class="btn-close" data-bs-dismiss="alert" + aria-label="Close"></button> + </div> + <form method="post"> <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}" /> - <div class="mb-3"> <label class="form-label">Email</label> <input class="form-control" name="email" /> @@ -50,7 +55,6 @@ </div> </div> - <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> </body> </html> |