{{/* Server-rendered dialogs, fetched with ?dialog= and swapped into #modal-host by htmx; modal.js supplies the chrome (backdrop, Escape, drag, focus). Each dialog is a form that posts the action it offers, so the client never builds action URLs itself. Responses to those posts either redirect (HX-Redirect), replace the dialog with the next step (e.g. the merge confirmation), or fail with a plain-text error. */}} {{define "delete"}}{{end}} {{define "move"}}{{end}} {{define "merge"}}{{end}}