-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #214 from DFE-Digital/feature/awarding-organisatio…
…n-page Feature/awarding organisation page
- Loading branch information
Showing
20 changed files
with
683 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/Dfe.EarlyYearsQualification.Content/Entities/DropdownQuestionPage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace Dfe.EarlyYearsQualification.Content.Entities; | ||
|
||
public class DropdownQuestionPage | ||
{ | ||
public string Question { get; init; } = string.Empty; | ||
|
||
public string CtaButtonText { get; init; } = string.Empty; | ||
|
||
public string ErrorMessage { get; init; } = string.Empty; | ||
|
||
public string DropdownHeading { get; init; } = string.Empty; | ||
|
||
public string NotInListText { get; init; } = string.Empty; | ||
|
||
public string DefaultText { get; init; } = string.Empty; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/Dfe.EarlyYearsQualification.Web/Models/Content/QuestionModels/DropdownQuestionModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Microsoft.AspNetCore.Mvc.Rendering; | ||
|
||
namespace Dfe.EarlyYearsQualification.Web.Models.Content.QuestionModels; | ||
|
||
public class DropdownQuestionModel : BaseQuestionModel | ||
{ | ||
public string SelectedValue { get; init; } = string.Empty; | ||
|
||
public List<SelectListItem> Values { get; init; } = []; | ||
|
||
public string DropdownHeading { get; set; } = string.Empty; | ||
|
||
public string NotInListText { get; set; } = string.Empty; | ||
|
||
public string DropdownId { get; init; } = "awarding-organisation-select"; | ||
|
||
public string CheckboxId { get; init; } = "awarding-organisation-not-in-list"; | ||
|
||
public bool NotInTheList { get; init; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.