Class: Components::TextInputRow

Inherits:
InputRow
  • Object
show all
Defined in:
app/components/text_input_row.rb

Instance Method Summary collapse

Instance Method Details

#input_element ⇒ Object



2
3
4
# File 'app/components/text_input_row.rb', line 2

def input_element
  @form.text_field(@attribute, {class: "form-control"}.merge(@options))
end