@model EnVisage.Models.ScenarioGroupModel @{ ViewBag.Title = Model != null ? "Edit " + Model.Name : "Add New Scenario Group"; } @section Scripts { }
@using (Html.BeginForm("Edit", "ScenarioGroup", FormMethod.Post, new { @class = "panel form-horizontal" })) { @Html.AntiForgeryToken() @Html.HiddenFor(t=>t.Id)
@Html.LabelFor(model => model.Name, new { @class = "col-sm-2 control-label" })
@Html.TextBoxFor(model => model.Name, new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.Name)
@Html.ValidationSummary(false, "The unit of measure could not be saved due to the following errors:")
}