Class: FakeInput
- Inherits:
-
SimpleForm::Inputs::StringInput
- Object
- SimpleForm::Inputs::StringInput
- FakeInput
- Defined in:
- app/inputs/fake_input.rb
Instance Method Summary collapse
-
#input ⇒ Object
This method only create a basic input without reading any value from object.
Instance Method Details
#input ⇒ Object
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, .delete(:value), ) end |