Class: FakeHiddenInput

Inherits:
SimpleForm::Inputs::StringInput
  • Object
show all
Defined in:
app/inputs/fake_hidden_input.rb

Instance Method Summary collapse

Instance Method Details

#inputObject

This method only create a basic input without reading any value from object


3
4
5
# File 'app/inputs/fake_hidden_input.rb', line 3

def input
  template.hidden_field_tag(attribute_name, input_options.delete(:value), input_html_options)
end