Class: SignedForm::SimpleForm::FormBuilder

Inherits:
SimpleForm::FormBuilder
  • Object
show all
Includes:
FormBuilder::Methods
Defined in:
lib/signed_form/simple_form/form_builder.rb

Instance Method Summary collapse

Instance Method Details

#input(attribute_name, options = {}, &block) ⇒ Object



6
7
8
9
# File 'lib/signed_form/simple_form/form_builder.rb', line 6

def input(attribute_name, options = {}, &block)
  add_signed_fields attribute_name
  super
end

#input_field(attribute_name, options = {}) ⇒ Object



11
12
13
14
# File 'lib/signed_form/simple_form/form_builder.rb', line 11

def input_field(attribute_name, options = {})
  add_signed_fields attribute_name
  super
end