LocalGovIMS_localgov-ims/src/Admin/Views/VatMetadata/_List.cshtml
@model Admin.Models.VatMetadata.ListViewModel

@if (Model.Items != null && Model.Items.Any())
{
<div class="table-responsive">
    <table class="table table-striped table-bordered table-hover mt-2">
        <thead>
            <tr>
                <th scope="col">
                    Description
                </th>
                <th scope="col">
                    Value
                </th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model.Items.OrderBy(x => x.Description))
            {
                <tr>
                    <td>
                        @item.Description
                    </td>
                    <td>
                        @item.Value
                    </td>
                </tr>
            }
        </tbody>
    </table>
    </div>
}
else
{
    Html.RenderPartial("_NothingSpecified", "metadata");
}

