<%= t('my_modules.results.comments_tab') %>
<% if can_add_result_comment_in_module(@my_module) then %>
-
<%= bootstrap_form_for :comment, url: { format: :json }, method: :post, remote: true, html: { class: 'comment-form' } do |f| %>
<%= f.smart_text_area :message,
single_line: true,
hide_label: true,
placeholder: t("general.comment_placeholder"),
append: f.submit("+",
onclick: "Results.processResult(event, Results.ResultTypeEnum.COMMENT, false);"),
help: '.',
data: { 'atwho-edit' => '' } %>
<% end %>
<% end %>