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" %> 

Leave a Comment

You must be logged in to post a comment.