Sha256: 6fb977c4662a71fa57c3803b1060dcbd9747763ff72dffad38cb4691d3801a83
Contents?: true
Size: 594 Bytes
Versions: 3
Compression:
Stored size: 594 Bytes
Contents
<%= simple_form_for @location do |f| %> <%= f.input :test_country, label: "Country", collection: CountryStateSelect.countries_collection %> <%= f.input :test_state, CountryStateSelect.state_options(label: "State / Province", form: f, field_names: { :country => :test_country, :state => :home_state } ) %> <%= f.input :test_city, CountryStateSelect.city_options(label: "City ", form: f, field_names: { :state => :test_state, :city => :home_city } ) %> <br /><br /> <%= f.button :submit %> <%= link_to "Cancel", locations_path, class: "btn btn-danger" %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems