drhenner/ror_ecommerce

View on GitHub
app/views/admin/merchandise/products/add_properties.html.erb

Summary

Maintainability
Test Coverage

<% @prototype.properties.each_with_index do |property, i| %>
  <%= check_box_tag 'product[property][]',property.id %><%= property.display_name %> <%= raw '<br>' if i%3 == 2 %>
  
<% end %>