{% extends "base.html" %} {% block content %}

2-Week Plan for {{ person }}

{% for day in days %} {% endfor %}
Day Meals Calories Protein Carbs Fat Net Carbs Actions
{{ day }} {% for plan in plans[day] %} {{ plan.meal.name }} {% endfor %} {% if not plans[day] %} No meals {% endif %} {{ "%.0f"|format(daily_totals[day].calories or 0) }} {{ "%.1f"|format(daily_totals[day].protein or 0) }}g
({{ daily_totals[day].protein_pct or 0 }}%)
{{ "%.1f"|format(daily_totals[day].carbs or 0) }}g
({{ daily_totals[day].carbs_pct or 0 }}%)
{{ "%.1f"|format(daily_totals[day].fat or 0) }}g
({{ daily_totals[day].fat_pct or 0 }}%)
{{ "%.1f"|format(daily_totals[day].net_carbs or 0) }}g
{% endblock %}