Class: ActionView::Helpers::FormBuilder
- Inherits:
-
Object
- Object
- ActionView::Helpers::FormBuilder
- Defined in:
- lib/country-select-iso.rb
Instance Method Summary collapse
- #country_select(method, options = {}, html_options = {}) ⇒ Object
- #state_select(method, options = {}, html_options = {}) ⇒ Object
Instance Method Details
#country_select(method, options = {}, html_options = {}) ⇒ Object
80 81 82 |
# File 'lib/country-select-iso.rb', line 80 def country_select(method, = {}, = {}) @template.country_select(@object_name, method, .merge(object: @object), ) end |
#state_select(method, options = {}, html_options = {}) ⇒ Object
84 85 86 |
# File 'lib/country-select-iso.rb', line 84 def state_select(method, = {}, = {}) @template.state_select(@object_name, method, .merge(object: @object), ) end |