@model MVCUI.Models.TournamentMVCCreateModel @{ ViewBag.Title = "Create"; }

Create New Tournament

@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.TournamentName, htmlAttributes: new { @class = "control-label" })
@Html.EditorFor(model => model.TournamentName, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.TournamentName, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.EntryFee, htmlAttributes: new { @class = "control-label" })
@Html.EditorFor(model => model.EntryFee, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.EntryFee, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.EnteredTeams, htmlAttributes: new { @class = "control-label" })
@foreach (var item in Model.EnteredTeams) {
}
@Html.LabelFor(model => model.Prizes, htmlAttributes: new { @class = "control-label" })
@foreach (var item in Model.Prizes) {
}
}
@Html.ActionLink("Back to List", "Index")
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }