Class: Forme::InputsWrapper::OL

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

Overview

Use an <ol> tag to wrap the inputs.

Registered as :ol.

Instance Method Summary collapse

Instance Method Details

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

Wrap the inputs in an <ol> tag



1199
1200
1201
# File 'lib/forme.rb', line 1199

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