module ActionView::Helpers::SelectHelperInstanceTag
Public Instance Methods
to_city_select_tag(region_code=nil,options={}, html_options={})
click to toggle source
# File lib/district_cn_selector/district_select_helper.rb, line 27 def to_city_select_tag(region_code=nil,options={}, html_options={}) district_selector(region_code, options, html_options).to_select(:city) end
to_district_select_tag(region_code=nil, options={}, html_options={})
click to toggle source
# File lib/district_cn_selector/district_select_helper.rb, line 23 def to_district_select_tag(region_code=nil, options={}, html_options={}) district_selector(region_code, options, html_options).to_select(:district) end
to_province_select_tag(region_code=nil,options={}, html_options={})
click to toggle source
# File lib/district_cn_selector/district_select_helper.rb, line 31 def to_province_select_tag(region_code=nil,options={}, html_options={}) district_selector(region_code, options, html_options).to_select(:province) end
Private Instance Methods
district_selector(region_code,options, html_options)
click to toggle source
# File lib/district_cn_selector/district_select_helper.rb, line 36 def district_selector(region_code,options, html_options) DistrictCnSelector::SelectSelector.new(self, region_code, options, html_options) end