{% if field.show_items %}
{% for res in model_key(result_set, field.relationship) %}
{% for field in field.schema %}
{% with value = model_key(res, field.name), field=field %}
{% if field.type == 'select' %}
{% include 'admin/components/forms/Select.html' %}
{% elif field.type == 'file' %}
{% include 'admin/components/forms/TextInput.html' %}
{% elif field.type in ["text", "datalist", "date", "datetime-local", "color", "email", "hidden", "month", "number", "password", "range", "search", "tel", "time", "url", "week"] %}
{% include 'admin/components/forms/TextInput.html' %}
{% elif field.type == "checkbox" %}
{% include 'admin/components/forms/Checkbox.html' %}
{% elif field.type == "radio" %}
{% include 'admin/components/forms/Radio.html' %}
{% elif field.type == "toggle" %}
{% include 'admin/components/forms/Toggle.html' %}
{% elif field.type == "textarea" %}
{% include 'admin/components/forms/Textarea.html' %}
{% endif %}
{% endwith %}
{% endfor %}