{% if error %}
{{ error }}
{% elif plan %}Available: {{ plan.total|floatformat:-3 }} {{ plan.unit }}
{% if plan.equivalent_amount is not None %}Calculated amount: {{ plan.equivalent_amount|floatformat:-3 }} {{ plan.equivalent_unit }}{% if plan.estimated_piece_weight %} (estimated from measured inner-pack weight){% endif %}
{% endif %}Estimated nutrition for this use: {% for nutrient in plan.nutrition %}{{ nutrient.value|floatformat:-1 }} {{ nutrient.unit }} {{ nutrient.label|lower }}{% if not forloop.last %} · {% endif %}{% endfor %}
{% endif %}{% if plan.shortage %}Shortage: {{ plan.shortage|floatformat:-3 }} {{ plan.unit }}. Choose a partial use explicitly or cancel.
{% endif %}