tag(name, options = nil, open = false) public

Examples:

  • tag("br") => <br />
  • tag("input", { "type" => "text"}) => <input type="text" />
Show source
Register or log in to add new notes.
April 19, 2012 - (v3.1.0 - v3.2.1)
0 thanks

Missed close tag

At the page http://apidock.com/rails/ActionView/Helpers/TagHelper/tag

<tt>.data()</tt> should be instead of <tt>.data()<tt>