I’m trying to use button_to and have it use an image in place of the
submit button. I had figured it would work the same as link_to like so:
button_to(image_tag(“editicon”, :size => “16x16”, :border => 0), :action
=> ‘edit’, :id => person.id)
but this instead displays the image code as the button name. Surely
there is a simple way to do this?