Browse Source

Use govuk_phase_banner helper

pull/117/head
Paul Robert Lloyd 3 years ago
parent
commit
a166101deb
  1. 2
      app/views/layouts/application.html.erb

2
app/views/layouts/application.html.erb

@ -48,7 +48,7 @@
%> %>
<div class="govuk-width-container"> <div class="govuk-width-container">
<%= render GovukComponent::PhaseBannerComponent.new( <%= govuk_phase_banner(
tag: { text: 'Beta' }, tag: { text: 'Beta' },
text: "This is a new service – #{govuk_mail_to("test@mhclg.gov.uk", "give feedback or report a problem", subject: "Feedback about Lettings and Sales of Social Housing in England Data Collection")}".html_safe text: "This is a new service – #{govuk_mail_to("test@mhclg.gov.uk", "give feedback or report a problem", subject: "Feedback about Lettings and Sales of Social Housing in England Data Collection")}".html_safe
) %> ) %>

Loading…
Cancel
Save