diff --git a/controlpanel/templates/controlpanel/_modal_form.html b/controlpanel/templates/controlpanel/_modal_form.html index 12b879b..760a469 100644 --- a/controlpanel/templates/controlpanel/_modal_form.html +++ b/controlpanel/templates/controlpanel/_modal_form.html @@ -5,14 +5,15 @@ `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. + 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. {% endcomment %} {% trans "Save" as default_submit_label %}