<%= t('projects.index.comment_tab') %>
<% if can_add_comment_to_project(@project) %>
-
<%= 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('projects.index.comment_placeholder'),
append: f.submit('+'),
help: '.',
data: { 'atwho-edit' => '' } %>
<% end %>
<% end %>