Files
manyfold/app/components/text_input_row.rb

6 lines
158 B
Ruby

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