Class: FakeTextInput

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

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options = nil) ⇒ Object



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

def input(wrapper_options = nil)
  merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
  template.text_field_tag(attribute_name, nil, merged_input_options)
end