From cc61e87701714ddb0da1e4e1a814c045e0c36802 Mon Sep 17 00:00:00 2001 From: "Pea M. Tyczynska" Date: Tue, 21 Jan 2020 14:52:21 +0000 Subject: [PATCH] Parametrized options label for the branding request form Co-Authored-By: Chris Hill-Scott --- app/main/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main/forms.py b/app/main/forms.py index 28d9ec46c..40b4c09d2 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -1403,6 +1403,7 @@ class BrandingOptions(StripWhitespaceForm): def __init__(self, service, *args, branding_type="email", **kwargs): super().__init__(*args, **kwargs) self.options.choices = tuple(self.get_available_choices(service, branding_type)) + self.options.label.text = 'Choose your new {} branding'.format(branding_type) if self.something_else_is_only_option: self.options.data = self.FALLBACK_OPTION_VALUE