<%= turbo_stream.append "comments-#{@comment.language_code.presence || 'all'}" do %>
  <%= render "entries/comment", comment: @comment %>
<% end %>

<%= turbo_stream.replace "comment_tabs" do %>
  <%= render "entries/comment_tabs", entry: @commentable %>
<% end %>

<%= turbo_stream.update "comment_form_modal" do %>
  <%= render "entries/comment_modal_content", entry: @commentable %>
<% end %>

<%= turbo_stream.append "comment_form_modal", target: "comment_form_modal" do %>
  <script>
    document.getElementById('comment_form_modal').classList.add('hidden');
  </script>
<% end %>
