Source

main / Source / WebClient / Web.Client / Views / Document / _Metadata.cshtml

@model Microsoft.Research.Dcxl.Web.Client.ViewModel.DocumentDetailViewModel
@{
    ViewBag.Title = "Metadata";
    Layout = "~/Views/Shared/_DocumentDetailLayoutPage.cshtml";
}
<div class="docMetadataItmHolder">
    @foreach (var documentMetadata in Model.DocumentMetadataList)
    {
        <div class="docMetadataElemHolder">
            @Html.Label(documentMetadata.Label)
            @Html.TextBox(documentMetadata.Value, new { maxlength = 50 })
            @Html.ValidationMessage(documentMetadata.Value, "", new { @class = "mandtrField" })
        </div>
    }
</div>