fix: set default value for no_of_cols
This commit is contained in:
parent
4b6976bab2
commit
fe10e6854f
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{% macro render_field(df, doc, no_of_cols) -%}
|
||||
{% macro render_field(df, doc, no_of_cols=2) -%}
|
||||
{%- if df.fieldtype=="Table" -%}
|
||||
{{ render_table(df, doc) }}
|
||||
{%- elif df.fieldtype=="HTML" and df.options -%}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue