17 lines
583 B
Plaintext
Raw Normal View History

2017-06-28 15:55:08 +00:00
component EditAnime(anime *arn.Anime)
2017-07-06 20:08:49 +00:00
h1= anime.Title.Canonical
2017-06-28 15:55:08 +00:00
2017-07-09 11:11:54 +00:00
.widget-form.mountable
2017-06-28 15:55:08 +00:00
.widget(data-api="/api/anime/" + anime.ID)
2017-07-09 11:11:54 +00:00
h3.widget-title Mappings
2017-10-11 13:49:16 +00:00
InputText("Virtual:ShoboiID", anime.GetMapping("shoboi/anime"), "Shoboi TID", "TID on cal.syoboi.jp")
InputText("Virtual:AniListID", anime.GetMapping("anilist/anime"), "AniList ID", "ID on anilist.co")
2017-06-28 16:39:52 +00:00
.buttons
a.button.ajax(href="/anime/" + anime.ID)
Icon("arrow-left")
span View anime
a.button(href="/api/anime/" + anime.ID, target="_blank")
Icon("search-plus")
span JSON API