{% macro render_additional_links(additional_links, pk) %} {% if additional_links %} {% for item in additional_links %} {{_(item.label)}} {% endfor %} {% endif %} {% endmacro %} {% macro render_action_links(actions, pk, modelview_name) %} {% set actions = actions | get_actions_on_show(modelview_name) %} {% for key in actions %} {% set action = actions.get(key) %} {% set url = url_for('.action', name = action.name, pk = pk) %} {{_(action.text)}} {% endfor %} {% endmacro %} {% macro action_form(actions, url) %} {% if actions %}
{% endif %} {% endmacro %} {% macro render_actions(actions, modelview_name) %} {% if actions %}