{%- from 'jinja2_macros.html' import construct_toggle_link with context -%}
{{ construct_toggle_link( create_new_view_toggle, "create new location", ['widget_event', ['locations', ['toggle_locations_widget_view', {'steamid': steamid, "action": "show_create_new"}]]], "back", ['widget_event', ['locations', ['toggle_locations_widget_view', {'steamid': steamid, "action": "show_frontend"}]]] )}}