<commit_before>%nav.navbar.navbar-default.navbar-fixed-top
  .container
    = link_to "Slack Backup", root_path, class: "navbar-brand"
    #navbar.collapse.navbar-collapse
      %ul.nav.navbar-nav
        %li= link_to "Members", team_path
        %li= link_to "Channels", channels_path
        %li= link_to "Logout", destroy_user_session_path, method: :delete

      .col-sm-3.col-md-3
        %form{action: search_path, method: :get, role: "search", class: "navbar-form"}
          .input-group
            - if @channel
              = hidden_field_tag :channel_id, @channel.id
            = text_field_tag :q, params[:q], class: "form-control", placeholder: "Search"
            .input-group-btn
              = button_tag name: nil, class: "btn btn-default" do
                %i.glyphicon.glyphicon-search<commit_msg>show Logout button only for logged in users<commit_after>%nav.navbar.navbar-default.navbar-fixed-top
  .container
    = link_to "Slack Backup", root_path, class: "navbar-brand"
    #navbar.collapse.navbar-collapse
      %ul.nav.navbar-nav
        %li= link_to "Members", team_path
        %li= link_to "Channels", channels_path
        - if user_signed_in?
          %li= link_to "Logout", destroy_user_session_path, method: :delete

      .col-sm-3.col-md-3
        %form{action: search_path, method: :get, role: "search", class: "navbar-form"}
          .input-group
            - if @channel
              = hidden_field_tag :channel_id, @channel.id
            = text_field_tag :q, params[:q], class: "form-control", placeholder: "Search"
            .input-group-btn
              = button_tag name: nil, class: "btn btn-default" do
                %i.glyphicon.glyphicon-search
{'fraction_non_alphanumeric': 0.12551319648093842, 'fraction_numerical': 0.002346041055718475, 'mean_word_length': 2.439516129032258, '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': '4809382', 'n_tokens_mistral': 559, 'n_tokens_neox': 536, 'n_words': 118}