How does one assign an image in place of a simple button in ruby/rails?
For instance, my submit tag for searching looks like:
<%= form_tag :action =>‘search’, :controller => ‘search’ %>
<%= text_field_with_auto_complete :product, :title %>
<%= submit_tag “Go” %>
<%= end_form_tag %>
And it works fine but looks a little ugly. I’d like to replace the ‘Go’
with an image of a magnifying glass or something. What’s the best way
to do that?