Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Rename the configuration error div
· 14a52965
Marco De Donno
authored
Jul 11, 2019
14a52965
Hide whitespace changes
Inline
Side-by-side
templates/users/config.html
View file @
14a52965
...
...
@@ -44,7 +44,7 @@
<input
id=
"password_confirmation"
name=
"password_confirmation"
type=
"password"
/>
</div>
</div>
<div
id=
"icnml_
logi
n_error"
class=
"icnml_box_error"
></div>
<div
id=
"icnml_
configuratio
n_error"
class=
"icnml_box_error"
></div>
<div
id=
"warning"
class=
"icnml_box_warning"
></div>
<div
class=
"icnml_button"
>
<a
class=
"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
id=
"set_password_button"
role=
"button"
aria-disabled=
"false"
>
...
...
@@ -65,21 +65,21 @@
if
(
!
username
)
{
$
(
'
#icnml_
logi
n_error
'
)
$
(
'
#icnml_
configuratio
n_error
'
)
.
text
(
"
Enter your username as provided in the email
"
);
$
(
"
#username
"
).
focus
();
}
else
if
(
!
password
)
{
$
(
'
#icnml_
logi
n_error
'
)
$
(
'
#icnml_
configuratio
n_error
'
)
.
text
(
"
The password can not be empty
"
);
$
(
"
#password
"
).
focus
();
}
else
if
(
password
!==
password_confirmation
)
{
$
(
'
#icnml_
logi
n_error
'
)
$
(
'
#icnml_
configuratio
n_error
'
)
.
text
(
"
The passwords fields does not match
"
);
$
(
"
#password
"
).
focus
();
...
...