Class: Beespew::FormBuilder
- Inherits:
-
ActionView::Helpers::FormBuilder
- Object
- ActionView::Helpers::FormBuilder
- Beespew::FormBuilder
- Defined in:
- lib/beespew/form_builder.rb
Instance Method Summary collapse
- #beespew_field(options = {}) ⇒ Object (also: #honeypot)
Instance Method Details
#beespew_field(options = {}) ⇒ Object Also known as: honeypot
5 6 7 8 9 |
# File 'lib/beespew/form_builder.rb', line 5 def beespew_field( = {}) = { class: 'beespew', placeholder: placeholder, tabindex: -1 }. merge(.with_indifferent_access) text_field Beespew.attribute, end |