Sha256: 3884716360b69dd5e5b80bab3a0c79f1667a2fd34464c44ea0d4fccbd72b3681

Contents?: true

Size: 318 Bytes

Versions: 7

Compression:

Stored size: 318 Bytes

Contents

<h1>Categories</h1>
<%= link_to "New", new_category_path %>
<ul>
  <% @categories.each do |category| %>
    <%= content_tag_for(:li, category) do %>
      <%= category.name %> - <%= category.parent_id.to_i %> <%= link_to "Edit", edit_category_path(category), :id => dom_id(category) %>
    <% end %>
  <% end %>
</ul>

Version data entries

7 entries across 7 versions & 1 rubygems

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