Skip to content

Commit

Permalink
Fixed a small regression in categories display
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric de Villamil committed Dec 24, 2009
1 parent 1fd97c1 commit 3521306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/content/_form.html.erb
Expand Up @@ -28,7 +28,7 @@
<h3><%= _("Categories") %></h3>
<%- Category.all.each do |cat| %>
<%= check_box_tag('categories[]', cat.id, (@article.categories.map(&:id).include? cat.id), :id => "category_#{h(cat.id)}") %>
<%= label_tag "category_#{h(cat.id)}", h(cat.name) %>
<%= label_tag "category_#{h(cat.id)}", h(cat.name) %><br />
<% end -%>
</div>
<%= render :partial => 'drafts'%>
Expand Down

0 comments on commit 3521306

Please sign in to comment.