{# Shared collapsible settings card for auto-registered extensions (see web/thirdparties/registry.py's register_thirdparty()). Rendered wherever a "card" dict from resolve_settings_cards()/thirdparty_cards shows up — the classic Integrations "Third Party" tab, any other existing tab/pill an extension attaches to, or a brand-new one (get_dynamic_tabs()). One macro instead of copy-pasting this markup into integrations.html and notifications.html keeps every host visually and behaviourally identical for free. The toggle(s) are backed by the generic GET/PUT /api/settings/thirdparty/ API (registry.py's register_generic_settings_routes) via static/extension_cards.js, which scans the whole document for .thirdparty-toggle[data-thirdparty-id] — so this works no matter which page/tab the card ends up rendered on, with zero extra JS wiring per host. #} {% macro render_settings_card(card) %} {% endmacro %}