Pages created via the page-template picker (weekly report, project doc, meeting notes, ...) previously got workspace_id=NULL and workspace=login, so they never appeared in the active local/Gitea workspace tree — they looked like they 'didn't save' even though the row existed. Frontend: _useTemplate now sends the active workspace context (workspace_id or workspace key), mirroring _createPlainPage. Backend: use_page_template resolves/validates the workspace and persists both workspace and workspace_id on the new page.