scinote-web/app/views/project_comments/_index.html.erb
2023-06-21 14:38:32 +02:00

10 lines
419 B
Text

<h5 class="text-center"><%= t('projects.index.comment_tab') %></h5>
<hr>
<%= render partial: 'shared/comments/comments', locals: {
object: @project,
comments: comments,
can_create_comments: can_create_project_comments?(@project),
create_url: project_project_comments_path(@project, format: :json),
more_url: project_project_comments_path(@project, format: :json, from: comments.first&.id)
} %>