@zig { const can_pick = data.getPresence("can_pick"); if (!data.getPresence("running")) {
@html HTML HTML

https://teamdraft.net/invite/{{.code}}

}
if (data.getPresence("running")) {
Round Time Remaining: {{.round_time_remaining}} }
{{.message}}
if (zmpl.get("teams")) |teams| {
for (teams.items(.array)) |team| { const id = team.get("id"); const rank = team.get("rank"); const name = team.get("name"); const picked: bool = team.getT(.boolean, "picked") orelse true; const pick_user = team.get("pick_user"); }
Team Rank
{{name}} {{rank}} {{pick_user}} if (can_pick and !picked) {
}
} }