-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Description
Hello i have been facing some troubles with activeadmin in rails 4.1.8. In fact i think that the problem came from formtastic. It considers my country field as country_select automatically. Is there any solution to force formtastic to disable the country select rendering.
Thank you
Here is where it happen
module ActionView
module Helpers
module FormOptionsHelper
# Return select and option tags for the given object and method, using country_options_for_select to generate the list of option tags.
def country_select(object, method, priority_countries = nil, options = {}, html_options = {})
InstanceTag.new(object, method, self, options.delete(:object)).to_country_select_tag(priority_countries, options, html_options)
end
# Returns a string of option tags for pretty much any country in the world. Supply a country name as +selected+ to
# have it marked as the selected option tag. You can also supply an array of countries as +priority_countries+, so
# that they will be listed above the rest of the (long) list.
#
Metadata
Metadata
Assignees
Labels
No labels