Render error message with proper color for input text

This commit is contained in:
luis cielak 2018-08-08 17:44:37 -04:00
parent 993a6635b2
commit 5b10265126

View File

@ -1,5 +1,5 @@
{% macro TextInput(field, placeholder='') -%}
<div class='usa-input {% if errors %}usa-input--error{% endif %}'>
<div class='usa-input {% if field.errors %}usa-input--error{% endif %}'>
<label for={{field.name}}>
{{ field.label }}