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 8181 {% if not (lastQuestion is null ) %}
8282 {% if lastQuestion .fields ['row' ] < question .fields ['row' ] %}
8383 <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 %}
8490 {% else %}
8591 {% set x = lastQuestion .fields ['col' ] + lastQuestion .fields ['width' ] %}
8692 {% set width = question .fields ['col' ] - x %}
8793 {% if x < question .fields ['col' ] %}
94+ {# There is a gap before the question #}
8895 <div class =" plugin_formcreator_gap" gs-x =" {{ x }}" gs-w =" {{ width }}" ></div >
8996 {% endif %}
9097 {% endif %}
You can’t perform that action at this time.
0 commit comments