From 2f5f836dda72d459edb21c94a664ddf956664cd1 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Tue, 24 Nov 2020 12:51:43 +0000 Subject: [PATCH] Correct 'thing' to users on manage folder page The checkboxes component that lets you choose which users have permission to see the folder is currently using the noun of 'folder' in the summary it generates. This is because this page users the TemplateFolderForm class, which defaults the permissions to 'folder'. This updates the field_label attribute, used by the code that generates the summary, to 'user' to match the type of permission. --- app/main/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/forms.py b/app/main/forms.py index e3e4b749b..00f0706d7 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -2126,7 +2126,7 @@ class TemplateFolderForm(StripWhitespaceForm): users_with_permission = GovukCollapsibleCheckboxesField( 'Team members who can see this folder', - field_label='folder') + field_label='team member') name = GovukTextInputField('Folder name', validators=[DataRequired(message='Cannot be empty')])