Browse Source

feat: add back behaviour

pull/1034/head
natdeanlewissoftwire 4 years ago
parent
commit
a540076e2f
  1. 2
      app/views/locations/check_answers.html.erb
  2. 2
      app/views/locations/mobility_standards.html.erb
  3. 2
      app/views/locations/name.html.erb
  4. 2
      app/views/locations/postcode.html.erb
  5. 2
      app/views/locations/startdate.html.erb
  6. 2
      app/views/locations/type_of_unit.html.erb
  7. 2
      app/views/locations/units.html.erb
  8. 6
      db/schema.rb

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

@ -4,7 +4,7 @@
<% content_for :before_content do %>
<%= govuk_back_link(
text: "Back",
href: scheme_locations_path(@scheme),
href: :back,
) %>
<% end %>

2
app/views/locations/mobility_standards.html.erb

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

2
app/views/locations/name.html.erb

@ -3,7 +3,7 @@
<% content_for :before_content do %>
<%= govuk_back_link(
text: "Back",
href: scheme_locations_path(@scheme),
href: :back,
) %>
<% end %>

2
app/views/locations/postcode.html.erb

@ -3,7 +3,7 @@
<% content_for :before_content do %>
<%= govuk_back_link(
text: "Back",
href: scheme_locations_path(@scheme),
href: :back,
) %>
<% end %>

2
app/views/locations/startdate.html.erb

@ -3,7 +3,7 @@
<% content_for :before_content do %>
<%= govuk_back_link(
text: "Back",
href: scheme_locations_path(@scheme),
href: :back,
) %>
<% end %>

2
app/views/locations/type_of_unit.html.erb

@ -3,7 +3,7 @@
<% content_for :before_content do %>
<%= govuk_back_link(
text: "Back",
href: scheme_locations_path(@scheme),
href: :back,
) %>
<% end %>

2
app/views/locations/units.html.erb

@ -3,7 +3,7 @@
<% content_for :before_content do %>
<%= govuk_back_link(
text: "Back",
href: scheme_locations_path(@scheme),
href: :back,
) %>
<% end %>

6
db/schema.rb

@ -374,15 +374,15 @@ ActiveRecord::Schema[7.0].define(version: 2022_11_22_130928) do
t.integer "la_known"
t.integer "income1"
t.integer "income1nk"
t.integer "details_known_2"
t.integer "details_known_3"
t.integer "details_known_4"
t.integer "age4"
t.integer "age4_known"
t.integer "age5"
t.integer "age5_known"
t.integer "age6"
t.integer "age6_known"
t.integer "details_known_2"
t.integer "details_known_3"
t.integer "details_known_4"
t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id"
t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id"
t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"

Loading…
Cancel
Save