erichexter/twitter.bootstrap.mvc — pull request #19 by serra (2012-11-27 09:11:50+00:00)
Title: Cancel button should redirect to `Index` without submitting form

A button input inside a form will submit the form (at least in some
browsers it does). The most common action for cancel will be a redirect
to `Index`, so we just create an action link to index and style it as a
button.

I'm not really sure if this is the best general scenario, but in my case it is
at least better than form submission.