diff --git a/app/main/forms.py b/app/main/forms.py index dcb4d05d6..e2943dfbe 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -1295,7 +1295,7 @@ class ConfirmPasswordForm(StripWhitespaceForm): class NewBroadcastForm(StripWhitespaceForm): content = GovukRadiosField( - "How to do you want to add content to the alert?", + 'New alert', choices=[ ('freeform', 'Write your own message'), ('template', 'Use a template'), diff --git a/app/templates/views/broadcast/new-broadcast.html b/app/templates/views/broadcast/new-broadcast.html index 323e1e869..df9d0e07e 100644 --- a/app/templates/views/broadcast/new-broadcast.html +++ b/app/templates/views/broadcast/new-broadcast.html @@ -1,4 +1,4 @@ -{% from "components/page-header.html" import page_header %} +{% from "components/back-link/macro.njk" import govukBackLink %} {% from "components/page-footer.html" import page_footer %} {% from "components/form.html" import form_wrapper %} @@ -10,13 +10,19 @@ {% block maincolumn_content %} - {{ page_header( - 'New alert', - back_link=url_for('.broadcast_dashboard', service_id=current_service.id), - )}} + {{ govukBackLink({ "href": url_for('.broadcast_dashboard', service_id=current_service.id) }) }} {% call form_wrapper() %} - {{ form.content }} + {{ form.content( + param_extensions={ + 'fieldset': { + 'legend': { + 'isPageHeading': True, + 'classes': 'govuk-fieldset__legend--l' + } + } + } + ) }} {{ page_footer('Continue') }} {% endcall %}