{% load ui %} {% comment %} The field loop every card-form and modal-form wrapper shares: label, daisyUI-styled widget, help text, errors — with checkboxes laid out label-beside-input instead of label-above. Included with `form`. Pass `two_columns` to lay the fields out in two columns instead of one — for a form with several short fields (a handful of day counts, say) that would otherwise make a modal taller than the screen. Textareas and file inputs always span the full width regardless: half a row is not enough to type a description into. Single column below `sm`, since two columns of form fields on a phone is worse than a long scroll. {% endcomment %} {% for error in form.non_field_errors %}