package templates import ( "bookhoard/internal/handlers" "fmt" "strings" ) templ ProgressSyncModal(user User, book handlers.MediaDetail) { } templ NotesHighlightsModal(user User, book handlers.MediaDetail, tombstoneDays int) { } templ MetadataEditorModal(book handlers.MediaDetail) { } // WriteToFileConfirmDialog is the in-app replacement for the browser // confirm() on the metadata editor's "Write to file" action (CSP and // UX: no native dialogs). The target-specific copy comes from the // bookDetail Alpine component (same scope as the editor modal). templ WriteToFileConfirmDialog(book handlers.MediaDetail) {
@Icon("save", "h-5 w-5")

Write metadata to file?

Your pending edits are saved first, then the file is rewritten and re-scanned.

}