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

@@ -46,7 +46,7 @@ func SeasonLeagueAddTeam(
}
// Redirect to refresh the page
w.Header().Set("HX-Redirect", fmt.Sprintf("/seasons/%s/leagues/%s", season.ShortName, league.ShortName))
w.Header().Set("HX-Redirect", fmt.Sprintf("/seasons/%s/leagues/%s/teams", season.ShortName, league.ShortName))
w.WriteHeader(http.StatusOK)
notify.Success(s, w, r, "Team Added", fmt.Sprintf(
"Successfully added '%s' to the league.",