<commit_before>- content_for :sidebar do
  .span3
    .well.sidebar-nav
      %ul.nav.nav-list
        %li.nav-header Tag Info
        %li.divider
        %li= @tag.name
        %li= "#{@tag.items.count} items"
        %li= "#{@tag.users.count} followers"

        - unless @tag.users.include?(current_user)
          %li.divider
          %li= link_to "Follow", :tag_follow, remote: true, class: "btn", id: "follow-btn"

.alert.fade.in#notice-area{style: "display: none"}
  %button.close{data: {dismiss: "alert"}} x

%h1= @tag.name
%hr

= render partial: "share/item", collection: @tag.items, spacer_template: "share/item_spacer"
<commit_msg>notice that user arleady follow the tag<commit_after>- content_for :sidebar do
  .span3
    .well.sidebar-nav
      %ul.nav.nav-list
        %li.nav-header Tag Info
        %li.divider
        %li= @tag.name
        %li= "#{@tag.items.count} items"
        %li= "#{@tag.users.count} followers"

        %li.divider
        - if @tag.users.include? current_user
          %li= link_to "Following", "#", class: "btn disabled btn-success"
        - else
          %li= link_to "Follow", :tag_follow, remote: true, class: "btn", id: "follow-btn"

.alert.fade.in#notice-area{style: "display: none"}
  %button.close{data: {dismiss: "alert"}} x

%h1= @tag.name
%hr

= render partial: "share/item", collection: @tag.items, spacer_template: "share/item_spacer"

{'fraction_non_alphanumeric': 0.16344086021505377, 'fraction_numerical': 0.002867383512544803, 'mean_word_length': 2.772972972972973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2108183', 'n_tokens_mistral': 505, 'n_tokens_neox': 494, 'n_words': 113}