Sha256: 4a32f295e15729c245f98020efb070ae14612cd26901a11906dea1a61fb8f699

Contents?: true

Size: 273 Bytes

Versions: 6

Compression:

Stored size: 273 Bytes

Contents

<h1>Items</h1>
<%= link_to "New", new_item_path %>
<ul>
  <% @items.each do |item| %>
    <%= content_tag_for(:li, item) do %>
      <%= item.name %> - <%= item.category_id %> <%= link_to "Edit", edit_item_path(item), :id => dom_id(item) %>
    <% end %>
  <% end %>
</ul>

Version data entries

6 entries across 6 versions & 1 rubygems

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