{# One instance's settings in the module's sheet, as the context of routes.py get_module_config_form gives them: the shared block, the instance chips, the module's own fields in one column, then the core's settings in three folded rows (their one-line summaries are drawn by summary.js), Save, and a footer. A [data-region] is swapped by itself after a save (sheet.js). #} {% set selected = chips | selectattr("selected") | first %} {% set toggle_url = "/admin/panels/modules/config/" ~ module_name ~ "/toggle?instance_id=" ~ instance_id %}
{# Outside the form: these post by themselves, not with Save #}