{% from "components/icon.html" import Icon %} {% from "components/tooltip.html" import Tooltip %} {% macro TextInput(field, tooltip='', placeholder='') -%}
{{ field(placeholder=placeholder) | safe }} {% if field.errors %} {% for error in field.errors %} {{ error }} {% endfor %} {% endif %}
{%- endmacro %}