search for: 672px

Displaying 1 result from an estimated 1 matches for "672px".

2006 Jun 28
1
sortable lists, database update
...controller I have: def updateorder params[:images].each_with_index { |id,idx| ProductImage.update(id, :display_order => idx) } render :text => ''Updated sort order'' end Then my view has: <div id="images" style="border: solid black 1px; width: 672px;"> <% @images.each do |image| %> <% if image.product_id == @product.id then %><img src="/images/store/<%= image.filename %>" id="image_<%= image.id %>" /><% end %> <% end %> </div> <p id="image-info" class=&q...