app/views/refinery/retailers/admin/retailers/_subregion_select.html.erb
<div id="retailer_state_code_wrapper">
<% parent_region ||= params[:parent_region] %>
<% country = Carmen::Country.coded(parent_region) %>
<% if country.nil? %>
<em><%= t('.please_select_a_country_above') %></em>
<% elsif country.subregions? %>
<%= subregion_select(:retailer, :state_code, parent_region) %>
<% else %>
<%= text_field(:retailer, :state_code) %>
<% end %>
</div>