Sha256: 1d4d9f22a790bda044caafd1899b2c4a4759c00bb0e3949f02586814c0f7e787

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

module SignedForm
  module SimpleForm
    class FormBuilder < ::SimpleForm::FormBuilder
      include SignedForm::FormBuilder::Methods

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
signed_form-simple_form-0.0.3 lib/signed_form/simple_form/form_builder.rb