{% extends "base.html" %} {% block title %}Meal Plan — Menu Planner{% endblock %} {% block content %}

Meal Plan

{{ week_start.strftime('%B %d') }} – {{ dates[-1].strftime('%B %d, %Y') }}

This Week {% if current_user.is_authenticated %} {% endif %}
{% if not current_user.is_authenticated %}
Log in to add or remove meals from the plan.
{% endif %}
{% for d in dates %} {% endfor %} {% for mt in meal_types %} {% for d in dates %} {% set key = d.isoformat() + '_' + mt %} {% endfor %} {% endfor %}
{{ d.strftime('%A') }}
{{ d.strftime('%b %d') }}
{{ mt }} {% if key in plan %} {% set entry = plan[key] %}
{{ cuisine_emoji.get(entry.cuisine, '') }} {{ entry.recipe_name }}
{{ entry.calories_per_serving|int }} cal · {{ entry.carbs_per_serving|int }}g carbs · {{ entry.servings }} ppl
{% if current_user.is_authenticated %} {% endif %}
{% else %} {% if current_user.is_authenticated %} {% else %} {% endif %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}