Sha256: 5d119d2f70a7aeaed90a8bacdb0db5f7ac6354899898a66f8a4e265fd1a8d40e
Contents?: true
Size: 980 Bytes
Versions: 24
Compression:
Stored size: 980 Bytes
Contents
<h3>Manage Products for [<%= @taxon.presentation %>]</h3> <%= save_button('Save', 'manage-products', @taxon.id) %> | <%= reload_button('Reset', 'manage-products', 'manage_products', @taxon.id) %> | <%= cancel_button('Cancel', 'manage-products') %> <table class="two-col"> <tr> <td class="two-col-left"> <h4>Current Products</h4> <h5>Click to remove</h5> <ul class="plain" id="add-product-target"> <% @taxon.products.each do |p| %> <li><span class="product-action product-action-remove" id="product-<%= p.id %>"><%= p.name %></span> <% end %> </ul> </td> <td class="two-col-right"> <h4>All Products</h4> <h5>Click to add</h5> <ul class="plain" id="remove-product-target"> <% Product.find(:all).each do |p| %> <li><span class="product-action product-action-add" id="product-<%= p.id %>"><%= p.name %></span> <% end %> </ul> </td> </tr> </table> <script type="text/javascript"> spree.taxon.pm.onload(<%= @taxon.id %>); </script>
Version data entries
24 entries across 24 versions & 3 rubygems