Sha256: 3de6d7a9ead8a4b3c8ec2b56c54d8fc163ccd3362123273d74c43afe6770350f

Contents?: true

Size: 726 Bytes

Versions: 18

Compression:

Stored size: 726 Bytes

Contents

<%= content_tag :li, :class => 'spud_blog_category_manager_item', 'data-id' => category.id do %>
  <span class="spud_blog_category_manager_item_name">
    <%= category.name %>
  </span>
  <span class="spud_blog_category_manager_item_actions">
    <%= link_to 'Edit', edit_spud_admin_post_category_path(category), :class => 'btn btn-mini spud_blog_category_edit' %>
    <%= link_to 'Delete', spud_admin_post_category_path(category), :class => 'btn btn-mini btn-danger spud_blog_category_delete' %>
  </span>
  <ul class="spud_blog_category_manager_item_children">
    <% if @post_categories[category.id] %>
      <%= render :partial => 'category', :collection => @post_categories[category.id] %>
    <% end %>
  </ul>
<% end %>

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
spud_blog-1.0.0.rc1.1 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-1.0.0.rc1 app/views/spud/admin/post_categories/_category.html.erb
tb_blog-1.0.4 app/views/spud/admin/post_categories/_category.html.erb
tb_blog-1.0.3 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.11 app/views/spud/admin/post_categories/_category.html.erb
tb_blog-1.0.2 app/views/spud/admin/post_categories/_category.html.erb
tb_blog-1.0.1 app/views/spud/admin/post_categories/_category.html.erb
tb_blog-1.0 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.10 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.9 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.8 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.7 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.5 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.4 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.3 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.2 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.1 app/views/spud/admin/post_categories/_category.html.erb
spud_blog-0.9.0 app/views/spud/admin/post_categories/_category.html.erb