{# Render actions for the table row. Options: - `table` (types.TableDefinition) - table definition. - `row` (types.Row) - row data. - `column` (types.ColumnDefinition) - column definition. #} {% import 'macros/form.html' as form %}
{% for action in table.actions %} {% if action.endpoint %} {% set url = h.tables_build_url_from_params(action.endpoint, action.url_params, row) %} {% else %} {% set url = action.url %} {% endif %} {% if action.icon %} {% endif %} {% if action.label %} {{ action.label }} {% endif %} {% endfor %}