<commit_before>- if can? :add_comment, discussion
  = form_tag add_comment_discussion_path(discussion), id: "new-comment-form" do
    .medium-user-avatar.avatar-canvas
      - if current_user.avatar_url
        = image_tag current_user.avatar_url(:medium)
      - else
        %span.medium-user-initials.initials-decoration= current_user.avatar_initials
    = content_tag "div", id: "comment-input", data: {group: @group.id} do  
      = text_area_tag 'comment', "", id: 'new-comment', placeholder: "Say something...", class: '.at-mentions'
      = submit_tag "Post comment", class: "btn btn-small submit", id: 'post-new-comment', :data => {:disable_with => "Post comment"}<commit_msg>Improve comment form partial.<commit_after>- if can? :add_comment, discussion
  = form_tag add_comment_discussion_path(discussion), id: "new-comment-form" do
    .medium-user-avatar.avatar-canvas
      - if current_user.avatar_url
        = image_tag current_user.avatar_url(:medium)
      - else
        %span.medium-user-initials.initials-decoration= current_user.avatar_initials
    #comment-input{ data: {group: @group.id} }
      = text_area_tag 'comment', "", id: 'new-comment', placeholder: "Say something..."
      = submit_tag "Post comment", class: "btn btn-small submit", id: 'post-new-comment', :data => {:disable_with => "Post comment"}
{'fraction_non_alphanumeric': 0.14392803598200898, 'fraction_numerical': 0.0, 'mean_word_length': 3.92619926199262, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3390464', 'n_tokens_mistral': 435, 'n_tokens_neox': 421, 'n_words': 92}