diff --git a/Sevomin.WebFrontend/Views/Shared/JobParameterViewModel.cshtml b/Sevomin.WebFrontend/Views/Shared/JobParameterViewModel.cshtml index f2c7979..2f01884 100644 --- a/Sevomin.WebFrontend/Views/Shared/JobParameterViewModel.cshtml +++ b/Sevomin.WebFrontend/Views/Shared/JobParameterViewModel.cshtml @@ -1,6 +1,6 @@ @model Sevomin.Models.JobParameterViewModel -@{ string paramId = string.Format("value-", Model.ParameterId.ToString()); - string muscowId = string.Format("muscow-", Model.ParameterId.ToString()); } +@{ string paramId = string.Format("value-{0}", Model.ParameterId.ToString()); + string muscowId = string.Format("muscow-{0}", Model.ParameterId.ToString()); } @Html.Label(Model.ParameterName)
@switch (Model.DisplayMethod) @@ -26,4 +26,4 @@ { @Html.DropDownList(muscowId, new SelectList(new List() { 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" }) } -
+ \ No newline at end of file