Class: Forme::InputsWrapper::TR

Inherits:
Object
  • Object
show all
Defined in:
lib/forme.rb

Overview

Use a <tr> tag to wrap the inputs.

Registered as :tr.

Instance Method Summary collapse

Instance Method Details

#call(form, opts, &block) ⇒ Object

Wrap the inputs in an <tr> tag



1223
1224
1225
# File 'lib/forme.rb', line 1223

def call(form, opts, &block)
  form.tag(:tr, opts[:attr], &block)
end