@model DetailsViewModel @using (Html.BeginForm("Details", "Home", FormMethod.Post )) { @Html.AntiForgeryToken() @Html.HiddenFor(m => m.VideoId)
@Html.LabelFor(m => m.Title) @Html.TextBoxFor(m => m.Title, new { @class = "form-control", @required = "required" }) @Html.ValidationMessageFor(m => m.Title)
@Html.LabelFor(m => m.Tags) @foreach (var tag in Model.Tags) { @Html.DisplayFor(m => tag) } @for (int i = 0; i < Model.Tags.Count; i++) { }
} @section Scripts { }