<commit_before>:ruby
  has_report_actions = lookup_context.template_exists?("#{@report_view}_actions", 'reports', true)
  has_common_actions = lookup_context.template_exists?("common_actions", 'reports', true)

%nav.navbar.navbar-default
  .container-fluid
    .navbar-header
      %button.navbar-toggle.collapsed{:data => {:toggle => "collapse", :target => "#report-form-actions"}}
        %span.sr-only Toggle Controls
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      .navbar-brand= @report_instance.class.to_s

    - if has_report_actions || has_common_actions
      .collapse.navbar-collapse#report-form-actions

        :ruby
          has_action_menu_items = lookup_context.template_exists?("#{@report_view}_action_menu_items", 'reports', true)

        - unless @data[:data].try(:empty?)
          .pull-right.btn-group.navbar-btn
            %button.btn.btn-primary.btn-sm.dropdown-toggle{data: {toggle: "dropdown"}}<commit_msg>fix title on TAM reports<commit_after>:ruby
  has_report_actions = lookup_context.template_exists?("#{@report_view}_actions", 'reports', true)
  has_common_actions = lookup_context.template_exists?("common_actions", 'reports', true)

%nav.navbar.navbar-default
  .container-fluid
    .navbar-header
      %button.navbar-toggle.collapsed{:data => {:toggle => "collapse", :target => "#report-form-actions"}}
        %span.sr-only Toggle Controls
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      .navbar-brand TAM Service Life Summary Report

    - if has_report_actions || has_common_actions
      .collapse.navbar-collapse#report-form-actions

        :ruby
          has_action_menu_items = lookup_context.template_exists?("#{@report_view}_action_menu_items", 'reports', true)

        - unless @data[:data].try(:empty?)
          .pull-right.btn-group.navbar-btn
            %button.btn.btn-primary.btn-sm.dropdown-toggle{data: {toggle: "dropdown"}}
{'fraction_non_alphanumeric': 0.14035087719298245, 'fraction_numerical': 0.0, 'mean_word_length': 3.4988399071925755, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4885425', 'n_tokens_mistral': 627, 'n_tokens_neox': 590, 'n_words': 87}