Module: Formtastic::Inputs::Base

Included in:
ActiveAdmin::Inputs::Filters::Base
Defined in:
lib/active_admin/form_builder.rb

Instance Method Summary collapse

Instance Method Details

#input_wrapping(&block) ⇒ Object


5
6
7
8
9
# File 'lib/active_admin/form_builder.rb', line 5

def input_wrapping(&block)
  html = super
  template.concat(html) if template.output_buffer && template.assigns[:has_many_block]
  html
end