% if can_read_protocol_in_module?(@protocol) %>
<%= render partial: 'shared/comments/comments.html.erb', locals: {
object: step,
comments: comments,
can_create_comments: can_create_comments_in_module?(@protocol.my_module),
create_url: step_step_comments_path(step, format: :json),
more_url: step_step_comments_path(step, format: :json, from: comments.first&.id)
} %>
<% end %>
<%=t('protocols.steps.comments') %> (<%= comments_count %>)