Skip to content

Commit

Permalink
Prevent moving of Categories into trees with another language
Browse files Browse the repository at this point in the history
  • Loading branch information
janv committed Dec 9, 2009
1 parent 341aaac commit 7c14ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/vrame/categories/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<li class="last">
<%= f.label :parent_id, 'Eltern-Kategorie:' %>
<%= tree_select(:category, :parent_id, Category.roots, :id, :title, :include_blank => true) %>
<%= tree_select(:category, :parent_id, controller.category_by_language.roots, :id, :title, :include_blank => true) %>
</li>
</ul>
</fieldset>
Expand Down

0 comments on commit 7c14ec1

Please sign in to comment.