Skip to content

Commit

Permalink
Reverted change as it was breaking some of our scenarios, as the labe…
Browse files Browse the repository at this point in the history
…ls where not clickable.
  • Loading branch information
baphled committed Aug 5, 2010
1 parent 9a95476 commit 99c16fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/common/_checkboxes.html.erb
Expand Up @@ -8,7 +8,8 @@
<li>
<%= check_box_tag "#{model.class.to_s.downcase.singularize}[#{item_name.to_s.downcase.singularize}_ids][]",
item.id,
model.send(item_name.to_s.downcase.pluralize).include?(item) %>
model.send(item_name.to_s.downcase.pluralize).include?(item),
:id => "#{model.class.to_s.downcase.singularize}_#{item_name.to_s.downcase.singularize}_id_#{item.id}"%>
<label for="<%= model.class.to_s.downcase.singularize %>_<%= item_name.to_s.downcase.singularize %>_id_<%= item.id %>"><%=h display_item_title(item) %></label>
</li>
<% end %>
Expand Down

0 comments on commit 99c16fd

Please sign in to comment.