Food diary

{{ day|date:"l j F Y" }}

{% for meal in meals %}

{{ meal.label }}

{{ meal.calories|floatformat:0 }} kcal

+
{% if meal.entries %}
    {% for entry in meal.entries %}
  • {% if entry.product and entry.product.image_url %}{% endif %}
    {{ entry.product_name_snapshot }}{% if entry.brand_snapshot %}{{ entry.brand_snapshot }}{% endif %}{% if entry.calories_kcal is not None %}{{ entry.calories_kcal|floatformat:0 }} kcal{% else %}— kcal{% endif %} · {% if entry.portion_label_snapshot %}{{ entry.portion_label_snapshot }} {% endif %}({{ entry.amount|floatformat:-3 }} {{ entry.unit }})
    Edit
  • {% endfor %}
{% else %}

Nothing logged yet.

{% endif %}
{% endfor %} Add food