{% import "partials/icons.html" as ic %} {% import "partials/fields.html" as f %} {# One lanelet constraint, rendered recursively. Children always nest in one list; how many a type takes comes from its spec, the same way a condition composition works. `slot` is the lanelet field this search chooses for -- a spawn, a goal, the lanelet a condition watches. It is what an add or a delete posts back, so the tree is the same whichever lanelet it is answering for. #} {% macro render(node, draft, slot, selected, document=none, inline_fields=false) %} {%- set spec = get_constraint_spec(node.type) -%}