Module: Formtastic::Inputs::Base::Html
- Defined in:
- lib/page_record/formtastic.rb
Instance Method Summary collapse
-
#input_html_options ⇒ Object
This is a replacement method for the original
input_html_options
method fromFormtastic
The only thing it does, is merge theattribute_for
into the output. - #input_html_options_org ⇒ Object
Instance Method Details
#input_html_options ⇒ Object
This is a replacement method for the original input_html_options
method from Formtastic
The only thing it does, is merge the attribute_for
into the output. The input_html_options
is called
for all input methods
26 27 28 29 |
# File 'lib/page_record/formtastic.rb', line 26 def extend(PageRecord::Helpers) .merge(attribute_for(input_name)) end |
#input_html_options_org ⇒ Object
18 |
# File 'lib/page_record/formtastic.rb', line 18 alias_method :input_html_options_org, :input_html_options |