Checklist

format fields

The title, name, desc and content props may contains templating tags.

format fields

The title, name, desc and content props may contains templating tags.

For example, the title I have {{ 2 + 1 }} documents will be rendered as I have 3 documents.

The paxpar engine use the jinja2 library.

The context dictionnary available in the template have these keys/values: (from low to high priority):

  • all root node children with node.id as key
  • all current node children with node.id as key
  • all props of the node with prop.name as key
  • node : the current node
  • children : the node children (self.children)
  • root : the root node of the checklist in its current state (self.root)
  • some functions (see SEC_EVAL_DEFAULT_ALLOWED_NAMES):
    • len
    • sum

TODO:

  • describe priority/shadowing
  • link with assert/show