{# The toolbox: what can be added to the workflow. Flow control, each instrument, each method category and the workflows sit under a divider of their own, which folds them away when clicked. Every group's actions load with the page, folded or not, so opening one is instant (see action_handlers.js). Which instruments start open comes from the route (open_groups): from the top, while their methods fit on a screen. After that the browser remembers what the user folds, per deck. #} {% set open_groups = open_groups if open_groups is defined else defined_variables %} {% macro group(key, label, open=True) %} {% set group_id = 'toolbox-' ~ (key | replace('.', '-')) %}