{% macro render_table_row_actions(data_model, resource="", relationship_name_on_model=None, result={}) %} {% set resource = resource %} {% for action in data_model.table.actions() %} {% if action.type == "action" %} {% if action.label %} {{ render_dynamic_html(action.label, result=result)|safe }} {% else %} {{ action.name }} {% endif %} {% if action.schema %} {% endif %} {% elif action.type == "horizontal-separator" %} {% include action.view %} {% endif %} {% endfor %} {% endmacro %}