I think that should be
<%= image_tag "DownArrow.jpg" %>
I tried that once merely changing f.image to f.image_tag, which I had
tried earlier.
Happily, then I noticed that you also omitted the "f.". So you were
spot-on! Great job!
I superficially thought that all the things in the block had to be
f.xxx or generated html would be out of order, or something. Now I
realize the html is generated in the order its created, regardless of
what method is invoked to create it. At least, that's how I'm
thinking about it now.
BTW, the rest of that code in that section is:
<p>
<%= f.label :vendor %><br />
<%= f.text_field :vendor %>
<%= image_tag "DownArrow.jpg" %>
<br>
<%= select_tag "test",
options_for_select(@current_vendors.collect { |v| v.nickname }),
{:multiple => true} %>
</p>
So I no longer need the sidebar I could never get working. The
select_tag was what I really wanted, but I didn't go about seeking
properly for a week. Whew, I'm glad that's behind me.
Can you not use an <%= image_tag("DownArrow.jpg") %>
Yes. That's essentially what I wound up with:
<%= image_tag "DownArrow.jpg" %>
My problem was that I had tried <%= f.image_tag "DownArrow.jpg" %> and
then
<%= f.image "DownArrow.jpg" %>. Colin pointed out the plain image_tag
without the "f."
is what I needed.