Module: SimpleFormAngular::FormBuilder
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/simple_form_angular/form_builder.rb
Instance Method Summary collapse
Instance Method Details
#input_with_angular(attribute_name, options = {}, &block) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/simple_form_angular/form_builder.rb', line 9 def input_with_angular(attribute_name, = {}, &block) if = .delete(:ng) [:input_html] ||= {} [:input_html].merge! SimpleFormAngular.() end input_without_angular(attribute_name, , &block) end |