{% macro sidebar_dropdown() %} {# Format is [mode, route, label] #} {% set data_sources = [ ['categories', path('tree_category_root'), 'category.labelp'], ['locations', path('tree_location_root'), 'storelocation.labelp'], ['footprints', path('tree_footprint_root'), 'footprint.labelp'], ['manufacturers', path('tree_manufacturer_root'), 'manufacturer.labelp'], ['suppliers', path('tree_supplier_root'), 'supplier.labelp'], ['devices', path('tree_device_root'), 'device.labelp'], ['tools', path('tree_tools'), 'tools.label'], ] %}