{% extends "base.html" %} {% block content %}
| Food Item | Serving | Cal | Protein | Carbs | Fat | Fiber | Sodium |
|---|---|---|---|---|---|---|---|
|
{{ meal_food.name }}
|
{{ "%.0f"|format(meal_food.total_grams) }}g ({{ "%.2f"|format(meal_food.num_servings) }} servings of {{ meal_food.serving_size }}{{ meal_food.serving_unit }})
|
{{ "%.0f"|format(meal_food.calories) }} | {{ "%.1f"|format(meal_food.protein) }}g | {{ "%.1f"|format(meal_food.carbs) }}g | {{ "%.1f"|format(meal_food.fat) }}g | {{ "%.1f"|format(meal_food.fiber) }}g | {{ "%.0f"|format(meal_food.sodium) }}mg |
| Meal Totals | - | {{ "%.0f"|format(meal_detail.nutrition.calories) }} |
{{ "%.1f"|format(meal_detail.nutrition.protein) }}g
({{ meal_detail.nutrition.protein_pct or 0 }}%)
|
{{ "%.1f"|format(meal_detail.nutrition.carbs) }}g
({{ meal_detail.nutrition.carbs_pct or 0 }}%)
|
{{ "%.1f"|format(meal_detail.nutrition.fat) }}g
({{ meal_detail.nutrition.fat_pct or 0 }}%)
|
{{ "%.1f"|format(meal_detail.nutrition.fiber) }}g | {{ "%.0f"|format(meal_detail.nutrition.sodium) }}mg |
| Calories | Protein | Carbs | Fat | Fiber | Net Carbs | Sodium | Calcium |
|---|---|---|---|---|---|---|---|
|
{{ "%.0f"|format(day_totals.calories) }}
|
{{ "%.1f"|format(day_totals.protein) }}g
({{ day_totals.protein_pct or 0 }}%)
|
{{ "%.1f"|format(day_totals.carbs) }}g
({{ day_totals.carbs_pct or 0 }}%)
|
{{ "%.1f"|format(day_totals.fat) }}g
({{ day_totals.fat_pct or 0 }}%)
|
{{ "%.1f"|format(day_totals.fiber) }}g | {{ "%.1f"|format(day_totals.net_carbs or 0) }}g | {{ "%.0f"|format(day_totals.sodium) }}mg | {{ "%.0f"|format(day_totals.calcium) }}mg |