class Forme::InputsWrapper::TR

  1. lib/forme/transformers/inputs_wrapper.rb
Superclass: Object

Use a <tr> tag to wrap the inputs.

Registered as :tr.

Methods

Public Instance

  1. call

Public Instance methods

call (form, opts, &block)

Wrap the inputs in an <tr> tag

[show source]
# File lib/forme/transformers/inputs_wrapper.rb, line 70
def call(form, opts, &block)
  form.tag(:tr, opts[:attr], &block)
end