<%= 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.text_area :message, hide_label: true, placeholder: t('projects.index.comment_placeholder'), append: f.submit('+'), help: '.' %>
<% end %>
<% end %>