Skip to content

Commit 3c9a96e

Browse files
committed
/account/activate: rename form id.
Should be in 98f8972 commit. No functional changes.
1 parent eb8a9a4 commit 3c9a96e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/main/webapp/WEB-INF/views/account/activate.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,12 @@ <h3 th:text="#{t_activation_on_site}">
8181
</div>
8282
</div>
8383

84-
<form method="post" class="form-horizontal" action="auth.html" th:action="@{${ACTIVATE_ACCOUNT_PAGE}}" th:object="${activateAccountForm}">
84+
<form id="activate-account-form"
85+
method="post"
86+
class="form-horizontal"
87+
action="auth.html"
88+
th:action="@{${ACTIVATE_ACCOUNT_PAGE}}"
89+
th:object="${activateAccountForm}">
8590

8691
<div class="form-group" th:classappend="${#fields.hasErrors('login') ? 'has-error' : ''}">
8792
<label for="login" class="control-label col-sm-3">

src/test/java/ru/mystamps/web/tests/page/ActivateAccountPage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void activateAccount(
7373
}
7474

7575
public boolean activationFormExists() {
76-
return elementWithIdExists("activateAccountForm");
76+
return elementWithIdExists("activate-account-form");
7777
}
7878

7979
private void fillLogin(String login) {

0 commit comments

Comments
 (0)