{% load ui_assets ui_classes ui_props %} {% ui_props "ui.field" %} {# Errors follow the control they describe, so an appearing error only grows the field downward. #} {# Without a label, help text, error, class or attributes there is nothing to associate or lay out: render the control bare. #} {% if label or description or description_trailing or errors|ui_messages or class or attrs.attrs_dict %} {% ui_require_asset "trellis:field" %} {% ui_class "ui.field" "root" class=class as field_class %} {% ui_class "ui.field" "control" as control_class %} {# djlint:off #}