Class: FakeInput

Inherits:
SimpleForm::Inputs::StringInput
  • Object
show all
Defined in:
app/inputs/fake_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_input.rb', line 3

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