mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
9 lines
448 B
Text
9 lines
448 B
Text
<h5 class="text-center"><%= t('experiments.canvas.popups.comments_tab') %></h5>
|
|
<hr>
|
|
<%= render partial: 'shared/comments/comments', locals: {
|
|
object: @my_module,
|
|
comments: comments,
|
|
can_create_comments: can_create_my_module_comments?(@my_module),
|
|
create_url: my_module_my_module_comments_path(@my_module, format: :json),
|
|
more_url: my_module_my_module_comments_path(@my_module, format: :json, from: comments.first&.id)
|
|
} %>
|