Browse Source

fixed navigation (#706)

pull/707/head
J G 3 years ago committed by GitHub
parent
commit
48b3b11db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      app/views/schemes/locations.html.erb
  2. 5
      app/views/schemes/show.html.erb

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

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

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

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

Loading…
Cancel
Save