Method: IsoDoc::HtmlFunction::Form#label_parse

Defined in:
lib/isodoc/html_function/form.rb

#label_parse(node, out) ⇒ Object



36
37
38
39
40
41
42
# File 'lib/isodoc/html_function/form.rb', line 36

def label_parse(node, out)
  out.label **attr_code(for: node["for"]) do |div|
    node.children.each do |n|
      parse(n, div)
    end
  end
end