Browse Source

working back buttons

pull/671/head
JG 3 years ago
parent
commit
72455b7997
  1. 2
      app/views/schemes/check_answers.html.erb
  2. 2
      app/views/schemes/confirm_secondary.html.erb
  3. 2
      app/views/schemes/secondary_client_group.html.erb
  4. 2
      app/views/schemes/support.html.erb

2
app/views/schemes/check_answers.html.erb

@ -3,7 +3,7 @@
<% content_for :before_content do %> <% content_for :before_content do %>
<%= govuk_back_link( <%= govuk_back_link(
text: "Back", text: "Back",
href: 'javascript:history.go(-1);', href: "/schemes/#{@scheme.id}/support",
) %> ) %>
<% end %> <% end %>

2
app/views/schemes/confirm_secondary.html.erb

@ -1,7 +1,7 @@
<% content_for :before_content do %> <% content_for :before_content do %>
<%= govuk_back_link( <%= govuk_back_link(
text: "Back", text: "Back",
href: :back, href: "/schemes/#{@scheme.id}/primary",
) %> ) %>
<% end %> <% end %>

2
app/views/schemes/secondary_client_group.html.erb

@ -1,7 +1,7 @@
<% content_for :before_content do %> <% content_for :before_content do %>
<%= govuk_back_link( <%= govuk_back_link(
text: "Back", text: "Back",
href: 'javascript:history.go(-1);', href: "/schemes/#{@scheme.id}/confirm_secondary",
) %> ) %>
<% end %> <% end %>

2
app/views/schemes/support.html.erb

@ -1,7 +1,7 @@
<% content_for :before_content do %> <% content_for :before_content do %>
<%= govuk_back_link( <%= govuk_back_link(
text: "Back", text: "Back",
href: 'javascript:history.go(-1);', href: "/schemes/#{@scheme.id}/secondary",
) %> ) %>
<% end %> <% end %>

Loading…
Cancel
Save