diff --git a/pages/soundtrack/edit.go b/pages/soundtrack/edit.go index 2277905d..50aa2b5d 100644 --- a/pages/soundtrack/edit.go +++ b/pages/soundtrack/edit.go @@ -8,6 +8,7 @@ import ( "strings" "github.com/animenotifier/notify.moe/components" + "github.com/animenotifier/notify.moe/utils" "github.com/aerogo/aero" "github.com/animenotifier/arn" @@ -88,6 +89,8 @@ func RenderField(b *bytes.Buffer, v *reflect.Value, field reflect.StructField, i arrayIDPrefix := fmt.Sprintf("%s[%d].", field.Name, sliceIndex) RenderObject(b, arrayObj, arrayIDPrefix) } + + b.WriteString(`
`) default: panic("No edit form implementation for " + idPrefix + field.Name + " with type " + field.Type.String()) }