{# WORKSPACE FILE-ACTION RESULT — toast payload for create/rename/move/delete. Returned by the mutation routes (/workspace/{key}/new|rename|move|delete) and swapped into the #ws-toast-slot. On success the route ALSO fires HX-Trigger:ws-tree-changed so the tree refreshes. Two states: - ws_ok → success toast ("Created file · path/to/x") - ws_error → error toast (e.g. a 403 path-escape rejection — nothing changed) Vars: ws_ok : success label, or None ws_detail : the affected rel-path (success only) ws_error : error message (failure only) ws_status : HTTP-ish status code #} {% if ws_error %}