app/views/receptacles/comments/_list.html.erb
<ul id="asset_annotations_<%= receptacle.id %>" class="list-group">
<% if receptacle.comments.length > 0 %>
<% receptacle.comments.each do |comment| %>
<li class="list-group-item">
<%= render partial: "shared/comment" ,
locals: { comment: comment, commentable: receptacle.becomes(Receptacle), update_target: "asset_annotations_#{receptacle.id}" }%>
</li>
<% end %>
<% else %>
<%= display_user_guide(I18n.t('assets.comments.no_comments')) %>
<% end %>
</ul>