Class: Forme::InputsWrapper::Table

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

Overview

Use a table tag to wrap the inputs.

Registered as :table.

Instance Method Summary collapse

Instance Method Details

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

Wrap the inputs in a table tag.



1141
1142
1143
# File 'lib/forme.rb', line 1141

def call(form, opts, &block)
  form.tag(:table, &block)
end