diff --git a/app/templates/views/edit-broadcast-template.html b/app/templates/views/edit-broadcast-template.html index 8c5d7cfe9..21b0374d3 100644 --- a/app/templates/views/edit-broadcast-template.html +++ b/app/templates/views/edit-broadcast-template.html @@ -24,7 +24,7 @@ }) }}
- {{ textbox(form.template_content, highlight_placeholders=False, width='1-1', rows=5) }} + {{ textbox(form.template_content, highlight_placeholders=False, autosize=True, width='1-1', rows=5) }} {{ sticky_page_footer('Save') }}
diff --git a/tests/app/main/views/test_templates.py b/tests/app/main/views/test_templates.py index c7aac09a7..a45fcb06e 100644 --- a/tests/app/main/views/test_templates.py +++ b/tests/app/main/views/test_templates.py @@ -480,6 +480,7 @@ def test_broadcast_template_doesnt_highlight_placeholders( service_id=SERVICE_ONE_ID, template_id=fake_uuid, ) + assert page.select_one('textarea')['data-module'] == 'enhanced-textbox' assert page.select_one('textarea')['data-highlight-placeholders'] == 'false'