Skip to content

Commit

Permalink
Merge pull request #1166 from griffithlab/allow-blank-countries-in-admin
Browse files Browse the repository at this point in the history
Allow blank country in user admin edit screen
  • Loading branch information
acoffman authored Dec 5, 2024
2 parents 2f57e13 + f3700e5 commit 8759942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/admin/users_admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

text_area :bio

collection_select :country_id, Country.order(:name), :id, :name
collection_select :country_id, Country.order(:name), :id, :name, {prompt: 'Choose a Country' }, include_blank: true

select :organization_ids, Organization.order(:name), { label: "Organization" }, multiple: true
end
Expand Down

0 comments on commit 8759942

Please sign in to comment.