var MuSCoWList = new List<Tuple<string, string>>() { new Tuple<string, string>("Must", "4"), new Tuple<string, string>("Should", "3"), new Tuple<string, string>("Could", "2"), new Tuple<string, string>("Won't", "1") }; }
@Html.Label(Model.ParameterName)
@Html.Label(Model.ParameterName)
<div class="form-group">
<div class="form-group">
@switch (Model.DisplayMethod)
@switch (Model.DisplayMethod)
@ -24,6 +25,6 @@
}
}
@if (Model.HasMoscow)
@if (Model.HasMoscow)
{
{
@Html.DropDownList(muscowId, new SelectList(new List<SelectListItem>() { new SelectListItem{ Value = "4", Text = "Must"}, new SelectListItem{ Value = "3", Text = "Should"}, new SelectListItem{ Value = "2", Text = "Could"}, new SelectListItem{ Value = "1", Text = "Wont"}}), new { @class = "form-control" })
@Html.DropDownList(muscowId, new SelectList(MuSCoWList, "item2", "item1"), new { @class = "form-control" })