Sha256: b369f7a90a0e31909db408041398422cdd5664d833828f1550652655caa2c79d

Contents?: true

Size: 234 Bytes

Versions: 71

Compression:

Stored size: 234 Bytes

Contents

if defined?(SimpleForm)
  class AssetBoxSimpleFormInput < SimpleForm::Inputs::FileInput
    def input(wrapper_options = nil)
      Inputs::AssetBox.new(object, object_name, template, attribute_name, options).to_html
    end
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
effective_assets-1.8.0 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.7.7 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.7.6 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.7.5 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.7.4 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.7.3 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.7.2 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.7.1 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.7.0 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.9 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.8 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.7 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.6 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.5 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.4 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.3 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.2 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.1 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.6.0 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.5.9 app/models/inputs/asset_box_simple_form_input.rb