app/views/media_resources/edit/fields/_meta_datum_country.html.haml
%select.block{:id => "resource[meta_data_attributes][#{@i}][value]" , :name => "resource[meta_data_attributes][#{@i}][value]", :type => "hidden", :autocomplete => :off}
%option{:label => _("Please select country")}
- MetaDatumCountry.get_codes.each do |country|
%option{:value => country["country_code"], :selected => (not meta_datum.nil? and meta_datum.value == country["country_code"]) ? :selected : nil}
= "#{country["country_code"]} #{country["country_name"]}"