Sha256: 0f14da21bc7baf2bc2cce599623422b26475c3c3b4099d05898538b9c8acc0d6

Contents?: true

Size: 242 Bytes

Versions: 6

Compression:

Stored size: 242 Bytes

Contents

class AssetBoxFormtasticInput < defined?(Formtastic) ? Formtastic::Inputs::FileInput : Object
  def to_html
    input_wrapping do
      label_html << AssetBox.new(@object, @object_name, @template, @method, @options).to_html
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
effective_assets-1.12.2 lib/inputs/asset_box_formtastic_input.rb
effective_assets-1.12.1 lib/inputs/asset_box_formtastic_input.rb
effective_assets-1.12.0 lib/inputs/asset_box_formtastic_input.rb
effective_assets-1.11.5 lib/inputs/asset_box_formtastic_input.rb
effective_assets-1.11.4 lib/inputs/asset_box_formtastic_input.rb
effective_assets-1.11.3 lib/inputs/asset_box_formtastic_input.rb