Sha256: d387fd1ace1edbcbdc38d2cda2add5ba6fa5b1940f4f0b3ec6797f4c7f489705

Contents?: true

Size: 257 Bytes

Versions: 119

Compression:

Stored size: 257 Bytes

Contents

module InputSupport
  extend ActiveSupport::Concern

  include RSpec::Rails::HelperExampleGroup

  def input_for(object, attribute_name, options = {})
    helper.simple_form_for object, url: '' do |f|
      f.input attribute_name, options
    end
  end
end

Version data entries

119 entries across 119 versions & 4 rubygems

Version Path
hyrax-2.6.0 spec/support/input_support.rb
hyrax-3.0.0.pre.rc1 spec/support/input_support.rb
hyrax-3.0.0.pre.beta3 spec/support/input_support.rb
hyrax-2.5.1 spec/support/input_support.rb
hyrax-2.5.0 spec/support/input_support.rb
hyrax-3.0.0.pre.beta2 spec/support/input_support.rb
hyrax-2.4.1 spec/support/input_support.rb
hyrax-3.0.0.pre.beta1 spec/support/input_support.rb
hyrax-2.4.0 spec/support/input_support.rb
hyrax-2.3.3 spec/support/input_support.rb
hyrax-2.3.2 spec/support/input_support.rb
hyrax-2.3.1 spec/support/input_support.rb
hyrax-1.1.1 spec/support/input_support.rb
hyrax-2.3.0 spec/support/input_support.rb
hyrax-2.0.3 spec/support/input_support.rb
hyrax-2.2.4 spec/support/input_support.rb
hyrax-2.2.3 spec/support/input_support.rb
hyrax-2.2.2 spec/support/input_support.rb
hyrax-2.2.1 spec/support/input_support.rb
hyrax-2.2.0 spec/support/input_support.rb