{% set error = errors[field.field_name] %} {#- Labels for the prefill message, from the form, so it names fields as the form does. -#} {% set form_labels = {} %} {% for f in h.scheming_get_dataset_schema('dataset').dataset_fields %} {% set ignored = form_labels.update({f.field_name: h.scheming_language_text(f.label)}) %} {% endfor %}
{%- snippet 'scheming/form_snippets/help_text.html', field=field -%} {% if error %} {{ error[0] }} {% endif %}