> <% per_page = Constants::COMMENTS_SEARCH_LIMIT %>
<% if comments.size == per_page %> <% end %>
<%= render partial: 'shared/comments/list', locals: { comments: comments} %> <% comments.mark_as_seen_by(current_user, object) %>
<% if can_create_comments %>
<%= text_area_tag 'message', '', placeholder: t('general.comment_placeholder_new'), class: 'form-control smart-text-area textarea-sm', data: { 'atwho-edit' => '' } %>
<% end %>