{% macro form_field(id, label, value='', input_type='text', placeholder='', help_text='', error='', required=False, disabled=False, readonly=False, autofocus=False, attrs='') -%}
{% if help_text %}{{ help_text }}{% endif %} {% if error %}{% endif %}
{%- endmacro %} {% macro text_area(id, label, value='', placeholder='', help_text='', error='', required=False, rows=4, attrs='') -%}
{% if help_text %}{{ help_text }}{% endif %} {% if error %}{% endif %}
{%- endmacro %} {% macro input_group(label, id, prefix='', suffix='', value='', placeholder='', help_text='', error='', required=False, attrs='') -%}
{% if prefix %}{% endif %} {% if suffix %}{% endif %}
{% if help_text %}{{ help_text }}{% endif %} {% if error %}{% endif %}
{%- endmacro %} {% macro select_control(id, label, options, selected='', help_text='', error='', required=False, attrs='') -%}
{% if help_text %}{{ help_text }}{% endif %} {% if error %}{% endif %}
{%- endmacro %} {% macro checkbox(id, label, checked=False, help_text='', attrs='') -%} {%- endmacro %} {% macro radio_group(name, label, options, selected='', help_text='') -%}
{{ label }} {% if help_text %}

{{ help_text }}

{% endif %}
{% for option in options %} {% if option is sequence and option|length > 1 %} {% set opt_value = option[0] %} {% set opt_label = option[1] %} {% else %} {% set opt_value = option.value if option.value is defined else option %} {% set opt_label = option.label if option.label is defined else option %} {% endif %} {% endfor %}
{%- endmacro %} {% macro search_bar(id='hil-search', placeholder='Search', attrs='') -%} {%- endmacro %}