Sha256: 8fc14f9392957c9a5ac7cd33ba2f8f5012be2a6e97e8edb75a90d14ea0f2e12e

Contents?: true

Size: 420 Bytes

Versions: 28

Compression:

Stored size: 420 Bytes

Contents

<li class="spud_post_form_category">
	<%= 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 %>
	<% if @categories[category.id] %>
		<ul>
			<%= render :partial => '/spud/admin/posts/category', :collection => @categories[category.id] %>
		</ul>
	<% end %>
</li>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
spud_blog-0.7.0 app/views/spud/admin/posts/_category.html.erb
spud_blog-0.6.3 app/views/spud/admin/posts/_category.html.erb
spud_blog-0.6.0 app/views/spud/admin/posts/_category.html.erb
spud_blog-0.5.1 app/views/spud/admin/posts/_category.html.erb
spud_blog-0.5.0 app/views/spud/admin/posts/_category.html.erb
spud_blog-0.4.0 app/views/spud/admin/posts/_category.html.erb
spud_blog-0.2.2 app/views/spud/admin/posts/_category.html.erb
spud_blog-0.2.1 app/views/spud/admin/posts/_category.html.erb