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
70 71 72 |
# File 'lib/uncharted/extensions/rails.rb', line 70 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
74 75 76 |
# File 'lib/uncharted/extensions/rails.rb', line 74 def territory_select(method, priority_territories = nil, = {}, = {}) @template.territory_select(@object_name, method, priority_territories, .merge(:object => @object), ) end |