{% macro button(label, link, kind='default', as='a', type='button') %} {%- set classes = resolve_class([ 'inline-flex items-center justify-center px-3 py-1 text-base leading-5 rounded-md focus:outline-none', { 'text-white bg-gray-900 hover:bg-gray-800 active:bg-gray-700 focus-visible:ring focus-visible:ring-gray-400': kind == 'primary', 'text-gray-800 bg-gray-100 hover:bg-gray-200 active:bg-gray-300 focus-visible:ring focus-visible:ring-gray-400': kind == 'default', } ]) -%} {%- if as == 'a' -%} {{ label }} {%- else -%} {%- endif -%} {% endmacro %} {% macro link(label, url, class, blank=False) %} {{ label }} {% endmacro %} {% macro badge_gray(title) %} {{ title }} {% endmacro %} {% macro badge_green(title) %} {{ title }} {% endmacro %} {% macro breadcrumbs(items) %} {% endmacro %} {% macro form(fields, action='') %}
{%- for df in fields -%}

{%- if df.fieldtype == 'Select' -%} {%- else -%} {%- endif -%}

{%- endfor -%}

{{ button('Submit', as='button', type='submit', kind='primary') }}

{% endmacro %} {% macro five_star_rating(rating=0.0) %}
{% for i in range(1, 6) %} {% endfor %}
{% endmacro %} {%- macro approved_badge() -%} {%- endmacro -%}