From eff307264129edd7b53f18294560da6343470edf Mon Sep 17 00:00:00 2001 From: mkelvers Date: Mon, 20 Apr 2026 16:19:45 +0200 Subject: [PATCH] style: reformat watchlist dropdown with multiline attributes --- web/components/watchlist/dropdown.templ | 38 +++++++++++++++++++++---- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/web/components/watchlist/dropdown.templ b/web/components/watchlist/dropdown.templ index 78b97d1..8dca919 100644 --- a/web/components/watchlist/dropdown.templ +++ b/web/components/watchlist/dropdown.templ @@ -2,9 +2,21 @@ package watchlist import "fmt" -templ WatchlistDropdown(animeID int, animeTitle string, animeTitleEnglish string, animeTitleJapanese string, animeImage string, currentStatus string, airing bool) { +templ WatchlistDropdown( + animeID int, + animeTitle string, + animeTitleEnglish string, + animeTitleJapanese string, + animeImage string, + currentStatus string, + airing bool, +) {
- - } -templ StatusOption(animeID int, animeTitle string, animeTitleEnglish string, animeTitleJapanese string, animeImage string, status string, currentStatus string, airing bool) { +templ StatusOption( + animeID int, + animeTitle string, + animeTitleEnglish string, + animeTitleJapanese string, + animeImage string, + status string, + currentStatus string, + airing bool, +) {