Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/form_helper.rb

Instance Method Summary collapse

Instance Method Details

#boolean_yes_no_select(method, options = {}, html_options = {}) ⇒ Object



31
32
33
# File 'lib/form_helper.rb', line 31

def boolean_yes_no_select(method, options = {}, html_options = {})
  @template.boolean_yes_no_select(@object_name, method, objectify_options(options), @default_options.merge(html_options))
end

#textile_text_area(method, options = {}, html_options = {}) ⇒ Object



35
36
37
# File 'lib/form_helper.rb', line 35

def textile_text_area(method, options = {}, html_options = {})
  @template.textile_text_area(@object_name, method, objectify_options(options))
end