updated season league view page

This commit is contained in:
2026-02-14 21:08:00 +11:00
parent f9283c0563
commit 2944443143
23 changed files with 791 additions and 302 deletions

View File

@@ -66,7 +66,7 @@ templ LeaguesSection(season *db.Season, allLeagues []*db.League) {
for _, league := range availableLeagues {
<button
type="button"
hx-post={ "/seasons/" + season.ShortName + "/leagues/add/" + league.ShortName }
hx-post={ "/seasons/" + season.ShortName + "/add-league/" + league.ShortName }
hx-target="#leagues-section"
hx-swap="outerHTML"
class="flex items-center gap-2 bg-surface1 hover:bg-surface2 border border-overlay0 rounded-lg px-3 py-2 transition hover:cursor-pointer"