fix: set default value for no_of_cols

This commit is contained in:
prssanna 2020-12-15 18:57:13 +05:30
parent 4b6976bab2
commit fe10e6854f

View file

@ -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 -%}