{# TEXT #} {% macro text(field) %} {% endmacro %} {# TEXT AREA #} {% macro longtext(field) %} {% endmacro %} {# FREE SELECT #} {% macro free_select(field) %} {%- for option in field.options %} {% endmacro %} {# NUMBER #} {% macro number(field) %} {% endmacro %} {# CHECKBOX #} {% macro checkbox(field) %} {% endmacro %} {# SELECT #} {% macro select(field) %} {% endmacro %} {# TAGS #} {% macro tags(field,free=false) %}
{%- for option in field.options %} {% endmacro %} {# FREE TAGS #} {% macro free_tags(field) %} {{ self::tags(field=field, free=true) }} {% endmacro %}