Country State Select is a library that provides an easy API to generate Country , State / Province and City dropdowns for use in forms. We will refer :- https://github.com/arvindvyas/Country-State-Select Gemfile gem 'chosen-rails' gem 'country_state_select', git: 'git://github.com/arvindvyas/Country-State-Select', branch: :master gem "simple_form"#, "~> 3.2" gem "reform"#, "~> 2.0" gem "reform-rails" orders_controller.rb class OrdersController < ApplicationController def shipping_address @location = Address.new end end shipping_address.html.erb <%= simple_form_for @location, :html => {class: 'subscribe-from'} ,url: orders_shipping_address_path do |f| %> <div class="row"> <div class="col-md-6"> <div class="form-group"> <%= f.input :address_line1, label: "Country", collecti
Comments