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.11.2 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.11.1 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.11.0 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.10.1 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.10.0 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.14 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.13 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.12 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.11 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.10 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.9 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.8 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.7 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.6 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.5 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.4 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.3 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.2 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.1 app/models/inputs/asset_box_simple_form_input.rb
effective_assets-1.9.0 app/models/inputs/asset_box_simple_form_input.rb