diff --git a/app/templates/views/service-settings.html b/app/templates/views/service-settings.html index 93c3e7c24..92ecbc8a3 100644 --- a/app/templates/views/service-settings.html +++ b/app/templates/views/service-settings.html @@ -232,7 +232,7 @@ {% call settings_row(if_has_permission='letter') %} {{ text_field('Letter branding') }} - {{ text_field(current_service.letter_branding) }} + {{ optional_text_field(current_service.letter_branding.name) }} {{ edit_field( 'Change', url_for('.request_letter_branding', service_id=current_service.id), @@ -309,7 +309,7 @@ {% endcall %} {% call row() %} {{ text_field('Letter branding')}} - {{ text_field(current_service.letter_branding.name) }} + {{ optional_text_field(current_service.letter_branding.name) }} {{ edit_field('Change', url_for('.service_set_letter_branding', service_id=current_service.id)) }} {% endcall %} {% call row() %} diff --git a/tests/app/main/views/test_service_settings.py b/tests/app/main/views/test_service_settings.py index 683db61d9..c35adaa37 100644 --- a/tests/app/main/views/test_service_settings.py +++ b/tests/app/main/views/test_service_settings.py @@ -94,7 +94,7 @@ def mock_get_service_settings_page_common( 'Organisation type Central Change', 'Free text message allowance 250,000 Change', 'Email branding GOV.UK Change', - 'Letter branding Change', + 'Letter branding Not set Change', 'Data retention email Change' ]), @@ -186,7 +186,7 @@ def test_should_show_overview( 'Label Value Action', 'Send letters On Change', 'Sender addresses 1 Example Street Manage', - 'Letter branding None Change', + 'Letter branding Not set Change', ]), ])