We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509117e commit af47b55Copy full SHA for af47b55
app/views/donations/_donation_form.html.erb
@@ -67,7 +67,7 @@
67
collection: @storage_locations,
68
label: "Storage Location",
69
error: "Where is it being stored?",
70
- selected: default_location(@donation),
+ selected: donation_form.storage_location&.id || default_location(@donation),
71
include_blank: true,
72
wrapper: :input_group %>
73
</div>
0 commit comments