Class: Forme::InputsWrapper::TR
- Inherits:
-
Object
- Object
- Forme::InputsWrapper::TR
- Defined in:
- lib/forme/transformers/inputs_wrapper.rb
Overview
Use a <tr> tag to wrap the inputs.
Registered as :tr.
Instance Method Summary collapse
-
#call(form, opts, &block) ⇒ Object
Wrap the inputs in an <tr> tag.
Instance Method Details
#call(form, opts, &block) ⇒ Object
Wrap the inputs in an <tr> tag
68 69 70 |
# File 'lib/forme/transformers/inputs_wrapper.rb', line 68 def call(form, opts, &block) form.tag(:tr, opts[:attr], &block) end |