Fixed status editing
This commit is contained in:
parent
633b5942f5
commit
d40d4a576a
@ -6,7 +6,7 @@ component AnimeListItem(viewUser *arn.User, item *arn.AnimeListItem, anime *arn.
|
|||||||
InputNumber("Episodes", float64(item.Episodes), "Episodes", "Number of episodes you watched", "0", arn.EpisodeCountMax(anime.EpisodeCount), "1")
|
InputNumber("Episodes", float64(item.Episodes), "Episodes", "Number of episodes you watched", "0", arn.EpisodeCountMax(anime.EpisodeCount), "1")
|
||||||
|
|
||||||
label(for="Status") Status:
|
label(for="Status") Status:
|
||||||
select.widget-element.action(id="Status", value=item.Status, data-action="save", data-trigger="change")
|
select.widget-element.action(id="Status", data-field="Status", value=item.Status, data-action="save", data-trigger="change")
|
||||||
option(value=arn.AnimeListStatusWatching) Watching
|
option(value=arn.AnimeListStatusWatching) Watching
|
||||||
option(value=arn.AnimeListStatusCompleted) Completed
|
option(value=arn.AnimeListStatusCompleted) Completed
|
||||||
option(value=arn.AnimeListStatusPlanned) Plan to watch
|
option(value=arn.AnimeListStatusPlanned) Plan to watch
|
||||||
|
Loading…
Reference in New Issue
Block a user