fixed relationship issues
This commit is contained in:
@@ -84,7 +84,7 @@ templ SeasonsList(seasons *db.SeasonList) {
|
||||
<!-- Header: Name + Status Badge -->
|
||||
<div class="flex justify-between items-start mb-3">
|
||||
<h3 class="text-xl font-bold text-text">{ s.Name }</h3>
|
||||
@season.StatusBadge(&s, true, true)
|
||||
@season.StatusBadge(s, true, true)
|
||||
</div>
|
||||
<!-- Info Row: Short Name + Start Date -->
|
||||
<div class="flex items-center gap-3 text-sm">
|
||||
@@ -107,5 +107,5 @@ templ SeasonsList(seasons *db.SeasonList) {
|
||||
}
|
||||
|
||||
func formatDate(t time.Time) string {
|
||||
return t.Format("02/01/2006") // DD/MM/YYYY
|
||||
return t.Format("02/01/2006") // DD/MM/YYYY
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user