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

2-Week Plan for {{ person }}

{% for date in dates %} {% endfor %}
Date Meals Calories Protein Carbs Fat Net Carbs Calcium Sodium Actions
{{ date.strftime('%m/%d') }} {% for plan in plans[date] %} {{ plan.meal.name }} {% endfor %} {{ "%.0f"|format(daily_totals[date].calories or 0) }} {{ "%.1f"|format(daily_totals[date].protein or 0) }}g ({{ daily_totals[date].protein_pct or 0 }}%) {{ "%.1f"|format(daily_totals[date].carbs or 0) }}g ({{ daily_totals[date].carbs_pct or 0 }}%) {{ "%.1f"|format(daily_totals[date].fat or 0) }}g ({{ daily_totals[date].fat_pct or 0 }}%) {{ "%.1f"|format(daily_totals[date].net_carbs or 0) }}g {{ "%.0f"|format(daily_totals[date].calcium or 0) }}mg {{ "%.0f"|format(daily_totals[date].sodium or 0) }}mg
{% endblock %}