index.html.haml revision f4f335875509867dd238df7c92b0b8f4fe101705
= ontology_nav parent, :comments if respond_to?(:parent)
%p
= pluralize(collection.count, 'Comment')
.comments
%ol
= render collection
- if can? :create, parent.comments.build
= render :partial => 'form'
- else
%p
Please
= link_to "log in", :new_user_session
or
= link_to "register", :new_user_registration
to write a comment.