{# Jinja help next to the template fields of a rule form. A "Jinja help" button below each field named in jinja_help.fields opens a panel with the lookup tables, the variables, the syncer's functions and filters and some Jinja basics. A click on an entry inserts its snippet at the cursor of that field. The content comes from application/helpers/jinja_help.py (RuleModelView.render), rows added with "Add Outcomes" get their button when they appear. Colours use the theme --surface-* tokens with light fallbacks so every theme renders it. #} {# The snippets the script writes are Jinja themselves. #} {% raw %} {% endraw %}