reset(value = nil, name = nil)
Instance Public methods
Generate a reset button Input element, as a String.
This resets the values on a form to their initial values.
value
is the text displayed on the button. name
is the name of this button.
Alternatively, the attributes can be specified as a hash.
reset # <INPUT TYPE="reset"> reset("reset") # <INPUT TYPE="reset" VALUE="reset"> reset("VALUE" => "reset", "ID" => "foo") # <INPUT TYPE="reset" VALUE="reset" ID="foo">
Please login to continue.