Added studios to anime information
This commit is contained in:
@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
"github.com/animenotifier/notify.moe/utils"
|
||||
"github.com/animenotifier/notify.moe/utils/editform"
|
||||
)
|
||||
|
||||
// Get anime edit page.
|
||||
@ -24,5 +24,5 @@ func Get(ctx *aero.Context) string {
|
||||
return ctx.Error(http.StatusNotFound, "Anime not found", err)
|
||||
}
|
||||
|
||||
return ctx.HTML(components.EditAnime(anime))
|
||||
return ctx.HTML(editform.Render(anime, "Edit anime", user))
|
||||
}
|
||||
|
Reference in New Issue
Block a user