show correct checkbox status

This commit is contained in:
Khaïs COLIN 2025-10-24 17:17:08 +02:00
parent 9238366137
commit c5b21d1cef
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
3 changed files with 18 additions and 25 deletions

View file

@ -36,6 +36,11 @@ struct IndexTemplate {
date: String,
}
fn range(bound: i32) -> Vec<i32> {
let iter = 0..bound;
iter.into_iter().collect()
}
#[derive(Template)]
#[template(path = "food-update.html")]
struct FoodUpdateTemplate {