{% macro input(label, name, value, type, R_O) %}
{% endmacro %} {% macro select(label, name, array_data , cur_data, R_O ) %}
{% if R_O == '+' %} {% endif %} {% endmacro %} {% macro select_mult(label, name, array_data , cur_data, R_O ) %}
{% if R_O == '+' %} {% set delimiter = "," %} {% set array = cur_data|split(delimiter) %}

{% for option in array_data %} {% for value in array %} {% if value == option[0] %} {{ option[1] }}
{% endif %} {% endfor %} {% endfor %}

{% else %} {% set delimiter = "," %} {% set array = cur_data|split(delimiter) %} {% endif %}
{% endmacro %} {% macro checkbox(label, name, value, type) %}
{% endmacro %}