module ActionView::Helpers::FormOptionsHelper

Constants

OPTIONS_FOR_ISD_CODES_SELECT
OPTIONS_FOR_ISD_CODES_SELECT_BY_CODE
OPTIONS_FOR_ISD_CODES_SELECT_BY_COUNTRY_NAME

Public Instance Methods

options_for_isd_code_select(display_country_names: true) click to toggle source
# File lib/has_contact_number/helper_methods.rb, line 20
def options_for_isd_code_select(display_country_names: true)
  display_country_names ? OPTIONS_FOR_ISD_CODES_SELECT_BY_COUNTRY_NAME : OPTIONS_FOR_ISD_CODES_SELECT_BY_CODE
end