{% set columns = table['columns'] %} {% for column in columns %} {% endfor %} {% for i in range(table['min_rows']) %} {% set row_index = loop.index0 %} {% for column in columns %} #} {% if 'enum' in param %} {% if param['enum']['display'] == 'combo' %} {% else %} {% for o in param['enum']['choices'] %} {% set checked = 'checked' if value == o else '' %} {% endfor %} {% endif %} {% else %} {% set type = param.get('type', 'string') %} {% if type == 'bool' %} {% elif type == 'text' %} {% else %} {% endif %} {% endif %} {% endfor %} {% endfor %}
{{ column['label'] }}Actions
{% set col_index = loop.index0 %} {% set param_id = 'row-%d-col-%d'|format(row_index, col_index) %} {% set id_name = 'id=%s name=%s'|format(param_id, param_id) %} {% set param = column %} {# #} {# #} {#