Module: AeUsers::FormHelperFunctions

Defined in:
lib/ae_users.rb

Instance Method Summary collapse

Instance Method Details

#person_field(object_name, method, options = {}) ⇒ Object



769
770
771
772
# File 'lib/ae_users.rb', line 769

def person_field(object_name, method, options={})
  it = ActionView::Base::InstanceTag.new(object_name, method, self, options.delete(:object))
  it.to_user_picker_tag(true, false, options)
end