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