@model CartWise.Web.ViewModels.ShoppingList.ShoppingListItemViewModel

<li class="list-group-item d-flex justify-content-between align-items-center">
    <span>
        @Model.DisplayName
        @if (!string.IsNullOrEmpty(Model.QuantityDisplay))
        {
            <span class="text-muted">(@Model.QuantityDisplay)</span>
        }
    </span>
    <span class="badge bg-secondary">@Model.Status</span>
</li>
