class ActiveAdmin::FormBuilder

def input(method, *args)

to the form buffer. Else, return it directly.
If this `input` call is inside a `inputs` block, add the content
def input(method, *args)
  content = with_new_form_buffer{ super }
  @use_form_buffer ? form_buffers.last << content : content
end