class Forme::InputsWrapper::FieldSetOL

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

Use a <fieldset> and an <ol> tag to wrap the inputs.

Registered as :fieldset_ol.

Methods

Public Instance

  1. call

Public Instance methods

call (form, opts)

Wrap the inputs in a <fieldset> and a <ol> tag.

[show source]
   # File lib/forme/transformers/inputs_wrapper.rb
34 def call(form, opts)
35   super(form, opts){form.tag_(:ol){yield}}
36 end