Sha256: 43dd70a8db4e4849ee2cb309c0c6fefce918c4a2a54490120900c86b1a18e518

Contents?: true

Size: 465 Bytes

Versions: 13

Compression:

Stored size: 465 Bytes

Contents

module TaoForm
  module Components
    class FieldComponent < TaoOnRails::Components::Base

      attr_reader :builder, :attribute_name

      def initialize view, builder = nil, attribute_name = nil, options = {}
        if builder.is_a? Hash
          options = builder
          builder = nil
          attribute_name = nil
        end

        super view, options
        @builder = builder
        @attribute_name = attribute_name
      end

    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tao_form-1.0.0.beta.2 lib/tao_form/components/field_component.rb
tao_form-1.0.0.beta.1 lib/tao_form/components/field_component.rb
tao_form-0.2.3 lib/tao_form/components/field_component.rb
tao_form-0.2.2 lib/tao_form/components/field_component.rb
tao_form-0.2.1 lib/tao_form/components/field_component.rb
tao_form-0.2.0 lib/tao_form/components/field_component.rb
tao_form-0.1.10 lib/tao_form/components/field_component.rb
tao_form-0.1.9 lib/tao_form/components/field_component.rb
tao_form-0.1.8 lib/tao_form/components/field_component.rb
tao_form-0.1.7 lib/tao_form/components/field_component.rb
tao_form-0.1.6 lib/tao_form/components/field_component.rb
tao_form-0.1.5 lib/tao_form/components/field_component.rb
tao_form-0.1.4 lib/tao_form/components/field_component.rb