search for: detailansicht

Displaying 1 result from an estimated 1 matches for "detailansicht".

2006 Jan 19
1
partials and instance variables for file_column
...;</h4> <%= link_to (image_tag url_for_file_column("product", "image"), {:width => ''150'', :height => ''181'', :style => ""}), { :action => ''detail'', :id => product.id }, {:title => "Detailansicht" } %> <p class="preis"><%= product.preis %> </p> </div> But in my partial I have the local variable "product", not the instance variable @product, so file_column doesn''t work. I now have a <% @product = product %> in the top of...