Fixing VRFS-1701 - API requires countrycode in the value attrib

This commit is contained in:
Anthony Davis 2014-05-29 20:01:02 -05:00
parent 6ad607cd24
commit 00de83fc5c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
<option class="label" value="" <%= @location[:country].blank? ? "selected" : "" %>>Select Country</option>
<% @countriesx.each do |country| %>
<% unless country[:countrycode].blank? %>
<option value="<%= country %>" <%= @location[:country] == country[:countrycode] ? "selected" : "" %>><%= country[:countryname] %></option>
<option value="<%= country[:countrycode] %>" <%= @location[:country] == country[:countrycode] ? "selected" : "" %>><%= country[:countryname] %></option>
<% end %>
<% end %>
</select>