class Forme::Labeler::Legend

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

Methods

Public Instance

  1. call

Public Instance methods

call (tag, input)
[show source]
   # File lib/forme/transformers/labeler.rb
95 def call(tag, input)
96   [input.tag(:legend, input.opts[:label_attr], input.opts[:label]), tag]
97 end