Skip to content

Commit

Permalink
Add BEIS theme (#164)
Browse files Browse the repository at this point in the history
* add beis and orr themes

* remove orr

* remove orr
  • Loading branch information
rmccar authored Dec 21, 2022
1 parent e975311 commit d40b8a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/validators/metadata_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def validate_mandatory(self):
# ru_name required for template rendering in business, default and NI theme
required_metadata_names = []

if self.theme_name in ["business", "default", "northernireland"]:
if self.theme_name in ["business", "default", "northernireland", "beis"]:
required_metadata_names.extend(["user_id", "period_id", "ru_name"])

for metadata_name in required_metadata_names:
Expand Down
1 change: 1 addition & 0 deletions schemas/questionnaire_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"default",
"health",
"northernireland",
"beis",
"census",
"census-nisra"
]
Expand Down

0 comments on commit d40b8a4

Please sign in to comment.