{# PARAMS: #} {# id_name: should be set if one want to distinguish this table from others. #}
{% for column in columns %} | {{ column['label'] }} | {% endfor %}
---|---|
{% for column in columns %} {% set col_index = loop.index0 %} {% set col_id = column['id'] %} {% set param_id = 'row-%d-col-%d'|format(row_index, col_index) %} {% set id_name = 'name=%s'|format(param_id) %} {% set data_key = ' data-key=%s '|format(col_id) %} {% set param = column %} {% set value = row_values.get(col_id, '') %} {% set selectpicker = True %} | {% include "dynamic_param.html" %} | {% endfor %}