Method: BaseHelper#tag_auto_complete_field

Defined in:
app/helpers/base_helper.rb

#tag_auto_complete_field(id, options = {}) ⇒ Object



358
359
360
361
362
363
# File 'app/helpers/base_helper.rb', line 358

def tag_auto_complete_field(id, options = {})
  options[:url][:format] = 'json'
  html = ""
  html << render(:partial => 'shared/tag_auto_complete', :locals => {:id => id, :options => options})
  html.html_safe
end