$('#admin-country-states').html('<%= j render("country_table", states: @states, country: @country) %>'); $('.admin-states-count').html("<%= print_count(@count, t(:'address.state.list')) %>");