diff --git a/app/views/furniture_placements/_new.html.erb b/app/views/furniture_placements/_new.html.erb index 4a8c8c070..a1892c3fb 100644 --- a/app/views/furniture_placements/_new.html.erb +++ b/app/views/furniture_placements/_new.html.erb @@ -1,10 +1,10 @@

<%= t('rooms.place_furniture_heading') %>

- <%= form_with model: [furniture_placement.room.space, furniture_placement.room, furniture_placement] do | placement_form | %> + <%= form_with model: furniture_placement.location do | placement_form | %> <%= placement_form.hidden_field :slot, value: furniture_placement.room.furniture_placements.count %> <%= placement_form.select :furniture_kind, Furniture::REGISTRY.keys.map { |k| [k.to_s.titleize, k] } %> <%- end %> -
\ No newline at end of file +