variables in views

This should work I would think, given what you say above:

<% for task in row_tasks do %>
<a href="<%= image_tag(>"><%= image_path( %></a>
<% end %>

Hi Tam, Do I need the do ?

That doesn’t work and putting the <% %> markups into the value of href= I get a headache looking at it

Hi again and thanks again Tam I got it working like this

"><%= image_tag( %>

Unless I am missing something, this might be clearer
  <%= link_to image_tag(, %>


thank you

thank you