Sha256: 93fa4185fb455df03732c67107adcacc1ceae38e3705f2a13e2d945bbdcf5b36

Contents?: true

Size: 228 Bytes

Versions: 12

Compression:

Stored size: 228 Bytes

Contents

module SimpleForm
  module Inputs
    # Handles hidden input.
    class HiddenInput < Base
      def render
        @builder.hidden_field(attribute_name, input_html_options)
      end
      alias :input :render
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
simple_form-1.0.4 lib/simple_form/inputs/hidden_input.rb
simple_form-1.0.3 lib/simple_form/inputs/hidden_input.rb
simple_form-1.2.2 lib/simple_form/inputs/hidden_input.rb
simple_form-1.0.2 lib/simple_form/inputs/hidden_input.rb
simple_form-1.2.1 lib/simple_form/inputs/hidden_input.rb
simple_form-1.0.1 lib/simple_form/inputs/hidden_input.rb
simple_form-1.2.0 lib/simple_form/inputs/hidden_input.rb
simple_form-1.1.3 lib/simple_form/inputs/hidden_input.rb
simple_form-1.1.2 lib/simple_form/inputs/hidden_input.rb
simple_form-1.1.1 lib/simple_form/inputs/hidden_input.rb
simple_form-1.1.0 lib/simple_form/inputs/hidden_input.rb
simple_form-1.0.0 lib/simple_form/inputs/hidden_input.rb