{% set custom_field_row_context = namespace() %} {# The variable 'field' is generated by Python in the main_router.py file. #} {% set custom_field_row_context.field = field %} {% set custom_field_row_context.errors = [] %}