module Rails::HiddenAutocomplete::ActionView::Helpers::FormTagHelper

Public Instance Methods

hidden_field_tag(name, value = nil, options = {}) click to toggle source
Calls superclass method
# File lib/rails/hidden_autocomplete/action_view/helpers/form_tag_helper.rb, line 6
def hidden_field_tag(name, value = nil, options = {})
  super(name, value, options.merge(autocomplete: 'off'))
end
utf8_enforcer_tag() click to toggle source
# File lib/rails/hidden_autocomplete/action_view/helpers/form_tag_helper.rb, line 10
def utf8_enforcer_tag
  '<input name="utf8" type="hidden" value="&#x2713;" autocomplete="off" />'.html_safe
end