</p>
</div>
- <% if @note_comments.find { |comment| comment.author.nil? } -%>
+ <% if @note_includes_anonymous -%>
<p class='alert alert-warning'><%= t ".anonymous_warning" %></p>
<% end -%>
<% end %>
</div>
- <% if @note_comments.length > 1 %>
+ <% if @note_comments.length > 0 %>
<div class='note-comments'>
<ul class="list-unstyled">
- <% @note_comments.drop(1).each do |comment| %>
+ <% @note_comments.each do |comment| %>
<li id="c<%= comment.id %>">
<small class='text-body-secondary'><%= note_event(comment.event, comment.created_at, comment.author) %></small>
<div class="mx-2">