diff --git a/xls2ddl/tmpls.py b/xls2ddl/tmpls.py index 1d97e65..6112568 100644 --- a/xls2ddl/tmpls.py +++ b/xls2ddl/tmpls.py @@ -42,6 +42,9 @@ data_browser_tmpl = """ "update_data_url": "{{update_data_url}}" {% else %} "update_data_url":{%- raw -%}"{{entire_url('update_{%- endraw -%}{{summary[0].name}}{%- raw -%}.dspy')}}"{%- endraw %} +{% endif %} +{% if form_binds %} + ,"binds":{{json.dumps(form_binds, indent=4, ensure_ascii=False)}} {% endif %} }, {% endif %}