Skip to content

Commit

Permalink
can select categories for wikipage now
Browse files Browse the repository at this point in the history
  • Loading branch information
TomK32 authored and Sven Fuchs committed Jul 14, 2008
1 parent f04652e commit 2a48ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/engines/adva_wiki/app/views/wiki/_form.html.erb
Expand Up @@ -6,10 +6,10 @@
<%= f.label :body %>
<%= f.text_area :body %>
</p>
<% unless @wikipage.categories.blank? %>
<% unless @section.categories.blank? %>
<p>
<label>Categories</label>
<% @wikipage.categories.each do |category| %>
<% @section.categories.each do |category| %>
<%= content_category_checkbox(@wikipage, category) %>
<label for="wikipage_category_<%= category.id %>" class="inline"><%= category.title %></label>
<% end %>
Expand Down

0 comments on commit 2a48ce5

Please sign in to comment.