scaffolding for new seasons

This commit is contained in:
2026-02-02 19:12:14 +11:00
parent 9366481552
commit 9c70458b76
21 changed files with 520 additions and 41 deletions

View File

@@ -58,7 +58,7 @@ func SeasonsPage(
return
}
tx.Commit()
page.SeasonsPage(seasons).Render(r.Context(), w)
renderSafely(page.SeasonsList(seasons), s, r, w)
})
}
@@ -123,6 +123,6 @@ func SeasonsList(
tx.Commit()
// Return only the list component (hx-push-url handles URL update client-side)
page.SeasonsList(seasons).Render(r.Context(), w)
renderSafely(page.SeasonsList(seasons), s, r, w)
})
}