{% for fields in site.data.form-fairex.fields %} {% for f in fields %} {% case f.type %} {% when 'selection' %} {% assign fvalues=f[1] | map: 'values' | clean %}
{{ f.help | map: include.ln }}
{% when 'selection-tags' %} {% assign fvalues=site.data.categories.fairex %}
{{ f.help | map: include.ln }}
{% when 'selection-condition' %} {% assign fvalues=site.data.condition | sort %}
{{ f.help | map: include.ln }}
{% when 'selection-img' %}
{{ f.help | map: include.ln }}
{% when 'selection-price' %} {% assign fvalues=site.data.currencies | sort %}
{{ f.help | map: include.ln }}
{% when 'input-text' %}
{{ f.help | map: include.ln }}
{% when 'textarea' %}
{{ f.help | map: include.ln }}
{% endcase %} {% endfor %} {% endfor %}

*.yml