File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 81
81
{% if not (lastQuestion is null ) %}
82
82
{% if lastQuestion .fields ['row' ] < question .fields ['row' ] %}
83
83
<div class =" plugin_formcreator_newRow" ></div >
84
+ {% if question .fields ['col' ] > 0 %}
85
+ {# There is a gap before the question #}
86
+ {% set x = 0 %}
87
+ {% set width = question .fields ['col' ] %}
88
+ <div class =" plugin_formcreator_gap" gs-x =" {{ x }}" gs-w =" {{ width }}" ></div >
89
+ {% endif %}
84
90
{% else %}
85
91
{% set x = lastQuestion .fields ['col' ] + lastQuestion .fields ['width' ] %}
86
92
{% set width = question .fields ['col' ] - x %}
87
93
{% if x < question .fields ['col' ] %}
94
+ {# There is a gap before the question #}
88
95
<div class =" plugin_formcreator_gap" gs-x =" {{ x }}" gs-w =" {{ width }}" ></div >
89
96
{% endif %}
90
97
{% endif %}
You can’t perform that action at this time.
0 commit comments