rails/rails — Issue #5218: Customize button_to tag
Author: iamntz
Created: 2012-02-29 14:25:53+00:00
State: open

Hello.

Even if I'm new in rails world, i noticed that `button_to` helper generate an... `input` tag.

`submit text` is more flexible (you can add an image, for example, you can use `:before` from CSS and so on.

Are any plans of switching to this tag (or at least allow customizing) ?

PS: I'm aware that `button` tag doesn't play on IE 6, but I guess <1% marketshare doesn't count that much.

Thanks!