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