@model (string templateId, string template, string title, string currency)

@Model.title

@if (ViewContext.ViewData.ModelState.TryGetValue(Model.templateId, out var errors)) { foreach (var error in errors.Errors) {
@error.ErrorMessage } }
No items.
{{ item.priceType === 'Topup' ? 'Any amount' : 'Free' }} {{ item.price }} @Model.currency{{ item.priceType === 'Minimum' ? ' minimum' : '' }} {{ item.inventory > 0 ? `${item.inventory} left` : 'Sold out' }}

{{ item.description }}