lib/formular/html_block.rb
def start_tag
      if element.attributes.empty?
        "<#{element.tag}>"
      else
        "<#{element.tag} #{element.attributes.to_html}>"
      end
    end
# return the start/opening tag with the element
# attributes hash converted into valid html attributes
return the start/opening tag with the element
attributes hash converted into valid html attributes
return the start / opening tag with the element attributes hash converted into valid html attributes
def start_tag
      if element.attributes.empty?
        "<#{element.tag}>"
      else
        "<#{element.tag} #{element.attributes.to_html}>"
      end
    end
def start_tag if element . attributes . empty? "<#{element.tag}>" else "<#{element.tag} #{element.attributes.to_html}>" end end
return the start/opening tag with the element
attributes hash converted into valid html attributes
return the start / opening tag with the element attributes hash converted into valid html attributes