Archive for February 4th, 2009

Reset button in Rails

Posted on February 4, 2009, under Rails.

I was looking for a way to have a reset button in the rails way, instead of the direct HTML tag.

<%= submit_tag "Start over", :name => "reset", :type => "reset", :id => "task_reset" %>