Skip to content

Commit 8888836

Browse files
committed
Updates post to take framework ID param
1 parent 6eb251c commit 8888836

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DigitalLearningSolutions.Web/ViewModels/CompetencyAssessments/SelectFrameworkSourcesFormData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
public class SelectFrameworkSourcesFormData
55
{
66
[Required]
7-
public int[] SelectedFrameworkIds { get; set; }
7+
public int FrameworkId { get; set; }
88
public int CompetencyAssessmentId { get; set; }
99
}
1010
}

DigitalLearningSolutions.Web/Views/CompetencyAssessments/SelectFrameworkSources.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
@foreach(var framework in Model.Frameworks)
7272
{
7373
<div class="nhsuk-radios__item">
74-
<input class="nhsuk-radios__input" type="radio" id="[email protected]" asp-for="SelectedFrameworkIds" value="@framework.ID" />
74+
<input class="nhsuk-radios__input" type="radio" id="[email protected]" asp-for="FrameworkId" value="@framework.ID" />
7575
<label class="nhsuk-label nhsuk-radios__label" for="[email protected]">
7676
@framework.FrameworkName
7777
</label>

0 commit comments

Comments
 (0)