{% load i18n lucide %} {% comment %} A daisyUI native modal wrapping a Django form that posts straight to `action_url`. Included with `modal_id`, `title`, `form`, `action_url`, `submit_label` and `submit_icon`, plus an optional `blurb`. The submit button sits outside the form tag (linked via the `form` attribute) so it can share the `modal-action` row with the dialog-closing Cancel button without nesting one
inside another. `enctype` is always multipart -- harmless for a form with no file field, required for one that has. Two optional knobs for a form with a lot of fields, which would otherwise run off the bottom of the screen: `box_class` widens the box (e.g. "max-w-2xl"), and `two_columns` lays the fields out in two columns -- growing sideways rather than downwards. They are meant to be used together; widening alone just makes a tall modal wide as well. {% endcomment %} {% trans "Save" as default_submit_label %}