【发布时间】:2019-08-10 14:28:32
【问题描述】:
我创建了分类法“品牌”,现在我想添加特定产品的品牌名称。我该怎么做?
<% if products.any? %>
<div id="products" class="inline product-listing row" data-hook>
<% products.each do |product| %>
... Insert here the brand of the product
<% end %>
<% reset_cycle("classes") %>
</div>
<% end %>
【问题讨论】:
标签: ruby-on-rails spree solidus