> does button_to_function allow the use of an image? I tried it in place
> of the text with "image_tag" and it doesn't work. Maybe some form of
I couldn't find a way to pass an image as parameter, but you can
fabricate it yourself.
<%= content_tag(:button, image_tag("ok.png")+"Submit", :type => "submit") %>
A good candidate for a helper.