Skip to content
Browse files

don't know how we got away with this not being here

  • Loading branch information...
1 parent aa727f6 commit ba071d3776f50b28bd37725ef01e6479d10d2977 @joemsak joemsak committed Jun 30, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/views/admin/blog/posts/_form.html.erb
View
2 app/views/admin/blog/posts/_form.html.erb
@@ -70,6 +70,8 @@
<ul class='blog_categories'>
<% @blog_categories.each do |category| %>
<li>
+ <%= hidden_field_tag 'blog_post[category_ids][]', category.id,
+ :value => 0 %>
<%= check_box_tag 'blog_post[category_ids][]', category.id,
@blog_post.categories.include?(category),
:id => (id="blog_post_category_ids_#{category.id}") %>

0 comments on commit ba071d3

Please sign in to comment.
Something went wrong with that request. Please try again.