Method: Formtastic::Inputs::Base::Html#input_html_options
- Defined in:
- lib/formtastic/inputs/base/html.rb
#input_html_options ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/formtastic/inputs/base/html.rb', line 21 def { :id => dom_id, :required => required_attribute?, :autofocus => autofocus? }.merge([:input_html] || {}) end |