<commit_before>.container.row.btn-group
  = link_to "#{t(:create)} #{t(:customer)}", new_customer_path, class: 'btn btn-default'
  .input-group.col-sm-8
    %input{:class=> 'form-control', :placeholder=>'Search', :ng_model=>'searchname'}
    .input-group-addon
      %a{:href => name_search_customers_path + "?name={{searchname}}"}
        %i{ :class=>"glyphicon glyphicon-search search_icon"}
%br
%br
%table{:class => 'table'}
  %thead{:class => 'well'}
    %tr
      %th= t(:customer)
      %th= t(:address)
      %th= t(:zip)
      %th= t(:city)
      %th
      %th
  %tbody{}
    - @customers.each do |customer|
      %tr
        %td= link_to customer.name, customer
        %td= customer.address
        %td= customer.zip
        %td= customer.city
        %td= link_to settings_icon, edit_customer_path(customer)<commit_msg>Namesearch failing when not first params <commit_after>.container.row.btn-group
  = link_to "#{t(:create)} #{t(:customer)}", new_customer_path, class: 'btn btn-default'
  .input-group.col-sm-8
    %input{:class=> 'form-control', :placeholder=>'Search', :ng_model=>'searchname'}
    .input-group-addon
      %a{:href => name_search_customers_path + "&name={{searchname}}"}
        %i{ :class=>"glyphicon glyphicon-search search_icon"}
%br
%br
%table{:class => 'table'}
  %thead{:class => 'well'}
    %tr
      %th= t(:customer)
      %th= t(:address)
      %th= t(:zip)
      %th= t(:city)
      %th
      %th
  %tbody{}
    - @customers.each do |customer|
      %tr
        %td= link_to customer.name, customer
        %td= customer.address
        %td= customer.zip
        %td= customer.city
        %td= link_to settings_icon, edit_customer_path(customer)
{'fraction_non_alphanumeric': 0.17654028436018956, 'fraction_numerical': 0.001184834123222749, 'mean_word_length': 3.0895883777239708, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '109820', 'n_tokens_mistral': 599, 'n_tokens_neox': 593, 'n_words': 119}