Skip to content

Commit 39d2d3c

Browse files
author
Mo Baig
authored
Merge pull request #2951 from alphagov/mb-survey-link
Add survey link and copy changes to banner on new nav pages
2 parents acf9c8d + 5fcb753 commit 39d2d3c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

app/views/smart_answers/show.html.erb

+16-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,22 @@
1010
<% end %>
1111
<% end %>
1212

13-
<%= render 'govuk_component/beta_label' if should_present_new_navigation_view?(@content_item) %>
13+
<% if should_present_new_navigation_view?(@content_item) %>
14+
<%=
15+
render(
16+
partial: 'govuk_component/beta_label',
17+
locals: {
18+
message: <<-MESSAGE
19+
This is a test version of the layout of this page.
20+
<a id='taxonomy-survey' href='https://www.smartsurvey.co.uk/s/betasurvey2017'>
21+
Take the survey to help us improve it
22+
</a>
23+
MESSAGE
24+
}
25+
)
26+
%>
27+
<% end %>
28+
1429
<%= render partial: 'govuk_component/breadcrumbs', locals: breadcrumbs %>
1530

1631
<div class="grid-row">

0 commit comments

Comments
 (0)