Commit 31f751d3 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Benni Mack
Browse files

[TASK] Use “error” icon for validation failures in FormEngine

Currently, a warning sign is rendered next to field labels whose
validation failed. Failed validations are errors and thus another icon
should be rendered. With this patch, a red circle containing an
exclamation mark is rendered. It’s the same icon as in the tabs holding
affected fields.

Resolves: #79537
Releases: master
Change-Id: I01b783c36dfac551bf6e9f0cb8fc703290c3eb72
Reviewed-on: https://review.typo3.org/51460

Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi's avatarRiccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarThomas Hohn <thomas@hohn.dk>
Tested-by: default avatarThomas Hohn <thomas@hohn.dk>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 686c70ed
......@@ -126,9 +126,8 @@ fieldset[disabled] .form-control {
label:before {
font-family: FontAwesome;
font-size: 12px;
margin-right: 5px;
text-align: center;
content: @fa-var-warning;
content: @fa-var-exclamation-circle;
color: @brand-danger;
display: inline-block;
}
......
......@@ -12672,9 +12672,8 @@ fieldset[disabled] .form-control {
.form-group.has-error label:before {
font-family: FontAwesome;
font-size: 12px;
margin-right: 5px;
text-align: center;
content: "\f071";
content: "\f06a";
color: #c83c3c;
display: inline-block;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment