Apply validation colors to correct icons
This commit is contained in:
parent
65207a480d
commit
23ae914211
@ -27,7 +27,7 @@
|
||||
$state-color: $color-green;
|
||||
}
|
||||
|
||||
.icon {
|
||||
.icon-validation {
|
||||
@include icon-color($state-color);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if field.errors %}
|
||||
{{ Icon('alert') }}
|
||||
{{ Icon('alert',classes="icon-validation") }}
|
||||
{% endif %}
|
||||
</legend>
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<span class='usa-input__help'>{{ field.description | safe }}</span>
|
||||
{% endif %}
|
||||
|
||||
{% if field.errors %} <span class="icon-validation">{{ Icon('alert') }}</span>{% endif %}
|
||||
{% if field.errors %} {{ Icon('alert',classes="icon-validation") }} {% endif %}
|
||||
</label>
|
||||
|
||||
{{ field(placeholder=placeholder) | safe }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user