diff --git a/web/static/mcias.js b/web/static/mcias.js index af5937d..7a6492f 100644 --- a/web/static/mcias.js +++ b/web/static/mcias.js @@ -15,6 +15,31 @@ document.body.addEventListener('htmx:responseError', function (evt) { banner.scrollIntoView({ behavior: 'instant', block: 'nearest' }); }); +// Toggle visibility of a create-form panel. The button text alternates +// between the given labels. Used by admin pages (accounts, policies, +// pgcreds, SSO clients) to show/hide the inline create form. +// +// Usage: +