Skip to content

Commit

Permalink
Add a helpful comment to the view
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Mar 21, 2016
1 parent e6ccbcd commit d2ec380
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<% variant.stock_items.each do |item| %>
<% if @stock_item_stock_locations.include?(item.stock_location) %>
<tr class="js-edit-stock-item <%= cycle('odd', 'even', :name => 'stock_locations')%>" data-variant-id="<%= variant.id %>" data-stock-item="<%= item.to_json %>" data-stock-location-name="<%= item.stock_location.name %>">
<%# This is rendered in JS %>
</tr>
<% end %>
<% end %>
Expand Down

0 comments on commit d2ec380

Please sign in to comment.