<commit_before>- if @lastaction == "show_list" && !session[:menu_click] && display_adv_search? && !@in_a_form
  = hidden_div_if(@edit && @edit[:adv_search_open] != true, :id => "adv_search_div") do
    - if @edit && @edit[:adv_search_open]
      = render :partial => 'layouts/adv_search'
  = render :partial => 'layouts/quick_search'
  #searchbox
    = form_tag({:action => 'show_list'},
               :class  => "search-pf has-button form-group pull-right",
               :method => :post) do
      .form-group.has-clear
        .search-pf-input-group
          %label{"for" => "search_text", :class => "sr-only"}
            Search
          = text_field("search", "text",
                       :id              => "search_text",
                       :value           => @search_text,
                       :alt             => "Search by Name within results",
                       :title           => "Search by Name within results",
                       :class           => "form-control",
                       "placeholder"    => _("Search"),
                       "data-miq_focus" => true)
          %button{"type"        => "button",
                  :class        => "clear",
                  "aria-hidden" => "true"}
            %span.pficon.pficon-close
      .form-group
        %button.btn.btn-default{:type => "submit"}
          %span.fa.fa-search
        - if @lastaction == "show_list" && !session[:menu_click] && display_adv_search? && !@in_a_form
          %button{"type"          => "button",
                  :class          => "btn btn-default",
                  "data-toggle"   => "modal",
                  "data-target"   => "#advsearchModal",
                  "data-whatever" => "@mdo",
                  :id             => "adv_search",
                  :title          => _("Advanced Search")}
            %span.fa.fa-angle-double-down

:javascript
  $(function($) {
    $(document).ready(function() {
      miqHideSearchClearButton()
    });
    $("button[data-target='#advsearchModal']").click(function(){
      miqJqueryRequest("adv_search_toggle", {beforeSend: true});
      return true;
    });
  });
<commit_msg>Missing gettext in searchbar.html.haml<commit_after>- if @lastaction == "show_list" && !session[:menu_click] && display_adv_search? && !@in_a_form
  = hidden_div_if(@edit && @edit[:adv_search_open] != true, :id => "adv_search_div") do
    - if @edit && @edit[:adv_search_open]
      = render :partial => 'layouts/adv_search'
  = render :partial => 'layouts/quick_search'
  #searchbox
    = form_tag({:action => 'show_list'},
               :class  => "search-pf has-button form-group pull-right",
               :method => :post) do
      .form-group.has-clear
        .search-pf-input-group
          %label{"for" => "search_text", :class => "sr-only"}
            Search
          = text_field("search", "text",
                       :id              => "search_text",
                       :value           => @search_text,
                       :alt             => _("Search by Name within results"),
                       :title           => _("Search by Name within results"),
                       :class           => "form-control",
                       "placeholder"    => _("Search"),
                       "data-miq_focus" => true)
          %button{"type"        => "button",
                  :class        => "clear",
                  "aria-hidden" => "true"}
            %span.pficon.pficon-close
      .form-group
        %button.btn.btn-default{:type => "submit"}
          %span.fa.fa-search
        - if @lastaction == "show_list" && !session[:menu_click] && display_adv_search? && !@in_a_form
          %button{"type"          => "button",
                  :class          => "btn btn-default",
                  "data-toggle"   => "modal",
                  "data-target"   => "#advsearchModal",
                  "data-whatever" => "@mdo",
                  :id             => "adv_search",
                  :title          => _("Advanced Search")}
            %span.fa.fa-angle-double-down

:javascript
  $(function($) {
    $(document).ready(function() {
      miqHideSearchClearButton()
    });
    $("button[data-target='#advsearchModal']").click(function(){
      miqJqueryRequest("adv_search_toggle", {beforeSend: true});
      return true;
    });
  });

{'fraction_non_alphanumeric': 0.15882487950424604, 'fraction_numerical': 0.0, 'mean_word_length': 1.6064593301435406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2350137', 'n_tokens_mistral': 1261, 'n_tokens_neox': 1224, 'n_words': 219}