Sha256: 38006774e4862d4f9e52ef39bcc524abb34dfcf897884703aade9881a52b8ce1

Contents?: true

Size: 258 Bytes

Versions: 17

Compression:

Stored size: 258 Bytes

Contents

class FakeHiddenInput < SimpleForm::Inputs::StringInput
  # This method only create a basic input without reading any value from object
  def input
    template.hidden_field_tag(attribute_name, input_options.delete(:value), input_html_options)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
optimacms-0.3.35 app/inputs/fake_hidden_input.rb
optimacms-0.3.34 app/inputs/fake_hidden_input.rb
optimacms-0.3.30 app/inputs/fake_hidden_input.rb
optimacms-0.3.29 app/inputs/fake_hidden_input.rb
optimacms-0.3.23 app/inputs/fake_hidden_input.rb
optimacms-0.3.15 app/inputs/fake_hidden_input.rb
optimacms-0.3.12 app/inputs/fake_hidden_input.rb
optimacms-0.3.11 app/inputs/fake_hidden_input.rb
optimacms-0.2.26 app/inputs/fake_hidden_input.rb
optimacms-0.2.25 app/inputs/fake_hidden_input.rb
optimacms-0.2.24 app/inputs/fake_hidden_input.rb
optimacms-0.3.4 app/inputs/fake_hidden_input.rb
optimacms-0.3.3 app/inputs/fake_hidden_input.rb
optimacms-0.2.21 app/inputs/fake_hidden_input.rb
optimacms-0.2.20 app/inputs/fake_hidden_input.rb
optimacms-0.2.16 app/inputs/fake_hidden_input.rb
optimacms-0.2.15 app/inputs/fake_hidden_input.rb