Skip to content

Commit

Permalink
refactor: improve error message styling for reset password form (#6791)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/area core
/kind improvement
/milestone 2.20.x

#### What this PR does / why we need it:

优化重置密码表单的错误提示样式。

#### Does this PR introduce a user-facing change?

```release-note
None
```
  • Loading branch information
ruibaby authored Oct 8, 2024
1 parent 2555cbf commit 16641e3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@
th:action="@{/password-reset/{resetToken}(resetToken=${resetToken})}"
method="post"
>
<p style="color: red" role="alert" th:if="${error}" th:text="${error}"></p>
<div class="alert alert-error" role="alert" th:if="${error}">
<strong th:text="${error}"></strong>
</div>
<div class="form-item">
<label for="password" th:text="#{form.passwordResetLink.password.label}">Password</label>
<th:block
Expand Down

0 comments on commit 16641e3

Please sign in to comment.