Class: ActiveAdmin::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/active_admin/globalize_inputs.rb

Instance Method Summary collapse

Instance Method Details

#globalize_inputs(*args, &proc) ⇒ Object



3
4
5
6
# File 'lib/active_admin/globalize_inputs.rb', line 3

def globalize_inputs(*args, &proc)
  content = with_new_form_buffer { super }
  form_buffers.last << content.html_safe
end