class Forme::InputsWrapper::OL

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

Use an <ol> tag to wrap the inputs.

Registered as :ol.

Methods

Public Instance

  1. call

Public Instance methods

call(form, opts, &block)

Wrap the inputs in an <ol> tag

[show source]
   # File lib/forme/transformers/inputs_wrapper.rb
46 def call(form, opts, &block)
47   form.tag(:ol, opts[:attr], &block)
48 end