<%- @printers.each do |printer| %> <%= link_to printer.name, "#", :class => "printer-#{printer.id}", :style => ("background-image:url('#{printer.images.first.attachment.url(:mini)}')" if printer.images.any?) %>
<%- end %>
<%- @download_categories.each do |category| %> <%- end %> <%- @printers.each do |printer| %> <%- end %>