Sha256: eb29f1fefb45c1d4f4fa2018a792e6acbe3c8e42702e36cf51b87570621b2f47

Contents?: true

Size: 312 Bytes

Versions: 7

Compression:

Stored size: 312 Bytes

Contents

<h1>Products</h1>
<%= link_to "New", new_product_path %>
<ul>
  <% @products.each do |product| %>
    <%= content_tag_for(:li, product) do %>
      <%= product.name %> - <%= product.category_ids.inspect %> <%= link_to "Edit", edit_product_path(product), :id => dom_id(product) %>
    <% end %>
  <% end %>
</ul>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
token_field-2.0.0 spec/dummy/app/views/products/index.html.erb
token_field-1.1.0 spec/dummy/app/views/products/index.html.erb
token_field-1.0.1 spec/dummy/app/views/products/index.html.erb
token_field-1.0.0 spec/dummy/app/views/products/index.html.erb
token_field-0.0.3 spec/dummy/app/views/products/index.html.erb
token_field-0.0.2 spec/dummy/app/views/products/index.html.erb
token_field-0.0.1 spec/dummy/app/views/products/index.html.erb