Module: Otori::Rails::Helpers

Defined in:
lib/otori/rails.rb

Instance Method Summary collapse

Instance Method Details

#honeypot_field(name, **attrs) ⇒ Object



31
32
33
# File 'lib/otori/rails.rb', line 31

def honeypot_field(name, **attrs)
  Otori.field(name, session: session, **attrs).html_safe
end

#honeypot_signals(**attrs) ⇒ Object



35
36
37
# File 'lib/otori/rails.rb', line 35

def honeypot_signals(**attrs)
  Otori.signals_field(**attrs).html_safe
end