lib/beespew/form_builder.rb in beespew-0.2.0 vs lib/beespew/form_builder.rb in beespew-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
module Beespew
class FormBuilder < ActionView::Helpers::FormBuilder
def beespew_field(options = {})
- options = { class: 'beespew', placeholder: placeholder }.
+ options = { class: 'beespew', placeholder: placeholder, tabindex: -1 }.
merge(options.with_indifferent_access)
text_field Beespew.attribute, options
end
alias honeypot beespew_field