Drop country_select

We are using i18n_data directly.
This commit is contained in:
depfu[bot] 2023-04-28 14:15:45 +00:00 committed by Henne Vogelsang
parent 94ec47dcc5
commit d9f86d0564
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
4 changed files with 5 additions and 16 deletions

View file

@ -20,8 +20,7 @@ class Venue < ApplicationRecord
end
def country_name
name = ISO3166::Country[country]
name&.iso_short_name
I18nData.countries[country]
end
def location?

View file

@ -22,7 +22,7 @@
= sanitize link_to(venue.name, venue.website)
- else
= venue.city
- if venue.country_name != 'US'
- if venue.country_name
&bull;
= venue.country_name