Syntax errors in unit 9
Thebe01 opened this issue · comments
Pierre Theberge commented
In :
<div class="order-total @(order.Pizzas.Any() ? "" : "hidden")">
Total:
<span class="total-price">@order.GetFormattedTotalPrice()</span>
<a href="checkout" class="@(OrderState.Order.Pizzas.Count == 0 ? "btn btn-warning disabled" : "btn btn-warning")">
Order >
</a>
</div>
Seem to be missing "> after order-total...
and the last " in the line should be removed.
I believe the first line should read : <div class="order-total">@(order.Pizzas.Any() ? "" : "hidden")>