views:

43

answers:

1

Rather than

<input type="submit" />

I want to output

<button>

using the button_to method (rails 3.0.0)

Is this possible?

A: 

You could override the button_to helper in ApplicationHelper to render a button tag instead. Look at the code that button_to already has and modify it to suit your purposes.

Ryan Bigg