Rather than
<input type="submit" />
I want to output
<button>
using the button_to method (rails 3.0.0)
Is this possible?
Rather than
<input type="submit" />
I want to output
<button>
using the button_to method (rails 3.0.0)
Is this possible?
In Rails 7, the button_to view helper will render a <button> element, regardless of whether or not the content is passed as the first argument or as a block.