{% from "partials/components/ui_macros.html" import modal_title, modal_footer %} {# core/ui/templates/partials/settings_modal.html Generisches Modul-Settings-Modal. Wird per HTMX in
eingefügt (hx-swap="beforeend"). Variablen: mod – Module-Instanz (core.ui.Module) schema – list von field-dicts (key, label, type, options, default, description) values – dict {field_key: current_value} Field-Typen: text, password, number, select, checkbox, textarea, list Section-Attribute: cols (Anzahl Spalten im Grid) Field-Attribute: span (belegte Spalten im Section-Grid), width #} {% set modal_w = mod.settings_modal_width | default(480) %}