class Forme::Labeler::Legend

Public Instance Methods

call(tag, input) click to toggle 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