Sha256: 2cdfa213a4a47cdb31df641499fa7343f78aeba854c7fe294f96b08b2735ee6a

Contents?: true

Size: 484 Bytes

Versions: 21

Compression:

Stored size: 484 Bytes

Contents

<%= content_tag :li, :class => 'spud_post_form_category', 'data-id' => category.id do %>
	<%= check_box_tag 'spud_post[category_ids][]', category.id, @post.category_ids.include?(category.id), :id => "spud_post_category_#{category.id}" %>
	<%= label_tag "spud_post_category_#{category.id}", category.name %>
  <ul>
    <% if @categories[category.id] %>
      <%= render :partial => '/spud/admin/posts/category', :collection => @categories[category.id] %>
  	<% end %>
  </ul>
<% end %>

Version data entries

21 entries across 21 versions & 2 rubygems

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