|
|
|
@ -47,7 +47,7 @@ func Heats(groups []models.Group, selectedGroupID int64, db *db.DB) templ.Compon
|
|
|
|
}()
|
|
|
|
}()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ctx = templ.InitializeContext(ctx)
|
|
|
|
ctx = templ.InitializeContext(ctx)
|
|
|
|
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<div class=\"container py-4\"><h1 class=\"mb-4\">Race Heats</h1><div class=\"row\"><div class=\"col-md-12\"><div class=\"card\"><div class=\"card-body\"><div class=\"mb-3\"><label for=\"group-select\" class=\"form-label\">Select Group</label> <select class=\"form-select\" id=\"group-select\" hx-get=\"/heats-content\" hx-target=\"#heats-content\" hx-trigger=\"change\" hx-include=\"[name='group_id']\"><option value=\"\">Select a group</option> ")
|
|
|
|
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<div class=\"container py-4\"><h1 class=\"mb-4\">Race Heats</h1><div class=\"row\"><div class=\"col-md-12\"><div class=\"card\"><div class=\"card-body\"><div class=\"mb-3\"><select class=\"form-select\" id=\"group-select\" hx-get=\"/heats-content\" hx-target=\"#heats-content\" hx-trigger=\"change\" hx-include=\"this\" name=\"group_id\"><option value=\"\">Select a group</option> ")
|
|
|
|
if templ_7745c5c3_Err != nil {
|
|
|
|
if templ_7745c5c3_Err != nil {
|
|
|
|
return templ_7745c5c3_Err
|
|
|
|
return templ_7745c5c3_Err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|