diff --git a/app/views/schemes/details.html.erb b/app/views/schemes/details.html.erb index 5594e6f77..037d953db 100644 --- a/app/views/schemes/details.html.erb +++ b/app/views/schemes/details.html.erb @@ -58,11 +58,6 @@ :name, legend: { text: "Is this scheme registered under the Care Standards Act 2000?", size: "m" } %> - <%= f.govuk_number_field :total_units, - width: 2, - label: { text: "Total number of units", size: "m" }, - hint: { text: "For example, a unit can be a bedroom in a shared house or flat, or a house with 4 bedrooms. Do not include bedrooms used for wardens, managers, volunteers or sleep-in staff." } %> - <%= f.hidden_field :page, value: "details" %> <% if request.query_parameters["check_answers"] == "true" %> <%= f.hidden_field :check_answers, value: "true" %> diff --git a/app/views/schemes/new.html.erb b/app/views/schemes/new.html.erb index 24fa1c90e..6b0045be2 100644 --- a/app/views/schemes/new.html.erb +++ b/app/views/schemes/new.html.erb @@ -66,11 +66,6 @@ :name, legend: { text: "Is this scheme registered under the Care Standards Act 2000?", size: "m" } %> - <%= f.govuk_number_field :total_units, - width: 2, - label: { text: "Total number of units", size: "m" }, - hint: { text: "For example, a unit can be a bedroom in a shared house or flat, or a house with 4 bedrooms. Do not include bedrooms used for wardens, managers, volunteers or sleep-in staff." } %> - <%= f.govuk_submit "Save and continue" %> diff --git a/db/migrate/20220629105452_add_stock_owning_organisation_to_schemes.rb b/db/migrate/20220629105452_add_stock_owning_organisation_to_schemes.rb new file mode 100644 index 000000000..1623eb654 --- /dev/null +++ b/db/migrate/20220629105452_add_stock_owning_organisation_to_schemes.rb @@ -0,0 +1,5 @@ +class AddStockOwningOrganisationToSchemes < ActiveRecord::Migration[7.0] + def change + add_reference :schemes, :stock_owning_organisation, foreign_key: { to_table: :organisations } + end +end