diff --git a/templates/book_detail_modals.templ b/templates/book_detail_modals.templ index 2dc19281..f88f6034 100644 --- a/templates/book_detail_modals.templ +++ b/templates/book_detail_modals.templ @@ -543,6 +543,36 @@ templ MetadataEditorModal(book handlers.MediaDetail) { } +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
if book.ShowComicMetadata() {
-
- - -
-
- - -
-
- - -
-
- - -
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 135, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if book.ShowComicMetadata() { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 124, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 138, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 148, "Save") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }