Hi Joshua,
Thanks for your response.
> 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
Hi Colin,
> 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
Can you not use an <%= image_tag("DownArrow.jpg") %> ?
On Mar 20, 2:29 pm, RichardOnRails
wrote:
> Hi,
>
> I've got a public\images\DownArrow.jpg
> and app\views\expenses\new.html.erb that want to present this image in
> the following context:
>
>
> <%= f.label :vendor %>
> <%= f.text_
3 matches
Mail list logo