Browse Source

Place back links on scheme pages before content

pull/685/head
Paul Robert Lloyd 3 years ago
parent
commit
ff2ee9d84c
  1. 4
      app/views/schemes/locations.html.erb
  2. 4
      app/views/schemes/show.html.erb

4
app/views/schemes/locations.html.erb

@ -1,7 +1,9 @@
<% title = @scheme.service_name %>
<% content_for :title, title %>
<%= govuk_back_link(href: request.referer.to_s) %>
<% content_for :before_content do %>
<%= govuk_back_link(href: request.referer.to_s) %>
<% end %>
<%= render partial: "organisations/headings", locals: { main: @scheme.service_name, sub: nil } %>

4
app/views/schemes/show.html.erb

@ -1,7 +1,9 @@
<% title = @scheme.service_name %>
<% content_for :title, title %>
<%= govuk_back_link(href: request.referer.to_s) %>
<% content_for :before_content do %>
<%= govuk_back_link(href: request.referer.to_s) %>
<% end %>
<%= render partial: "organisations/headings", locals: { main: @scheme.service_name, sub: nil } %>

Loading…
Cancel
Save