{% macro nav_link(endpoint_group, endpoint, name) %} {% if request.endpoint.startswith(endpoint_group) %} {% else %} {% endif %} {% endmacro %} {% macro player_name_id(player) %} {{ player.name }} ({{ player.id }}) {% endmacro %} {% macro modal_editor_open(id, label, color) %} {% endmacro %} {% macro modal_editor(id, endpoint, title, submit_label, submit_color) %} {% endmacro %}