Class: ActionView::Helpers::FormBuilder
- Inherits:
-
Object
- Object
- ActionView::Helpers::FormBuilder
- Defined in:
- lib/uncharted/extensions/rails.rb
Instance Method Summary collapse
- #country_select(method, priority_countries = nil, options = {}, html_options = {}) ⇒ Object
- #territory_select(method, priority_territories = nil, options = {}, html_options = {}) ⇒ Object
Instance Method Details
#country_select(method, priority_countries = nil, options = {}, html_options = {}) ⇒ Object
65 66 67 |
# File 'lib/uncharted/extensions/rails.rb', line 65 def country_select(method, priority_countries = nil, = {}, = {}) @template.country_select(@object_name, method, priority_countries, .merge(:object => @object), ) end |
#territory_select(method, priority_territories = nil, options = {}, html_options = {}) ⇒ Object
69 70 71 |
# File 'lib/uncharted/extensions/rails.rb', line 69 def territory_select(method, priority_territories = nil, = {}, = {}) @template.territory_select(@object_name, method, priority_territories, .merge(:object => @object), ) end |