<commit_before>%section#hud
  %p.title{ data: { 'section-title' => true } }
    = link_to "HUD (#{@hud_search[:total]})", "#"
  %div.content{ data: { 'section-content' => true } }
    %table.large-12{:summary => "HUD Unclaimed Money Search Results. First row contains column headers, subsequent rows contain claim information"}
      %thead
        %tr
          %th{:scope =>"col"}
            Name
          %th{:scope =>"col"}
            Address
          %th{:scope =>"col"}
            Claim date
          %th{:scope =>"col"}
            Case number
          %th
      %tbody
        - @hud_search[:results].each_with_index do |result, index|
          %tr{:scope => "row"}
            %td= result[:name]
            %td= "#{result[:address]} #{result[:city] == ' ' ? '' : result[:city] + ', ' }#{result[:state]} #{result[:zip]}"
            %td= result[:claim_date]
            %td= result[:case_number]
            %td
              = link_to 'Claim', '#', :class => 'small button underline', 'data-reveal-id' => "hud-modal-#{index}"
              %div.reveal-modal.expand{ id: "hud-modal-#{index}" }
                - if flash["hud-modal-#{index}"] && flash[:success]
                  %div.alert-box.success #{flash[:success]}
                = link_to raw('&#215;'), "#", class: "close-reveal-modal"
                %br
                - if session[:user] == {}
                  = link_to image_tag('shield.png', alt: 'MyUSA') + raw('<span>To Save Task Log In</span><strong></strong>'), "auth/myusa", id: 'log-in-link', :class => 'right'
                - else
                  = button_to 'Save to MyUSA Tasks', add_tasks_path(modal: "hud-modal-#{index}", task_type: 'hud', uid: result[:case_number]), :class => 'button positive radius right'
                %h2
                  Start the claim process
                %p
                  Call 1-800-697-6967 to get your refund. If your name is not on the list, but you believe that you are owed a refund, call this same toll free number to ask about your status. You can also contact HUD by postal mail using the following address:
                  %ul.vcard
                    %li.fn U.S. Department of Housing and Urban Development
                    %li.street-address P.O. Box 44372
                    %li.locality
                      %span.city Washington,
                      %span.state DC
                      %span.zip 20026-4372
                  %h5 Note
                  All inquiries should include your name, your FHA case number
                  %span.label #{result[:case_number]}
                  , the date that the mortgage was paid-in-full, the property address, and your daytime phone number.
                  %h5 More Info
                  For more information about refunds, read the #{link_to 'Fact Sheet', 'http://www.hud.gov/offices/hsg/comp/refunds/fhafact.cfm', target: '_blank', class: 'underline'}
                  = link_to image_tag('exit_disclaimer.gif', alt: 'Opens in new window'), 'http://www.hud.gov/offices/hsg/comp/refunds/fhafact.cfm'
                  %img(src="/assets/exit_disclaimer.gif")
    %div.bottom-buttons
      = button_to 'Search Again', root_path, :class => 'button positive radius right'    
      = button_to 'More Results', 'http://www.hud.gov/offices/hsg/comp/refunds/refundlist.cfm', :class => 'button positive radius' if @hud_search[:total] == 25<commit_msg>Remove second window open icon on HUD modal<commit_after>%section#hud
  %p.title{ data: { 'section-title' => true } }
    = link_to "HUD (#{@hud_search[:total]})", "#"
  %div.content{ data: { 'section-content' => true } }
    %table.large-12{:summary => "HUD Unclaimed Money Search Results. First row contains column headers, subsequent rows contain claim information"}
      %thead
        %tr
          %th{:scope =>"col"}
            Name
          %th{:scope =>"col"}
            Address
          %th{:scope =>"col"}
            Claim date
          %th{:scope =>"col"}
            Case number
          %th
      %tbody
        - @hud_search[:results].each_with_index do |result, index|
          %tr{:scope => "row"}
            %td= result[:name]
            %td= "#{result[:address]} #{result[:city] == ' ' ? '' : result[:city] + ', ' }#{result[:state]} #{result[:zip]}"
            %td= result[:claim_date]
            %td= result[:case_number]
            %td
              = link_to 'Claim', '#', :class => 'small button underline', 'data-reveal-id' => "hud-modal-#{index}"
              %div.reveal-modal.expand{ id: "hud-modal-#{index}" }
                - if flash["hud-modal-#{index}"] && flash[:success]
                  %div.alert-box.success #{flash[:success]}
                = link_to raw('&#215;'), "#", class: "close-reveal-modal"
                %br
                - if session[:user] == {}
                  = link_to image_tag('shield.png', alt: 'MyUSA') + raw('<span>To Save Task Log In</span><strong></strong>'), "auth/myusa", id: 'log-in-link', :class => 'right'
                - else
                  = button_to 'Save to MyUSA Tasks', add_tasks_path(modal: "hud-modal-#{index}", task_type: 'hud', uid: result[:case_number]), :class => 'button positive radius right'
                %h2
                  Start the claim process
                %p
                  Call 1-800-697-6967 to get your refund. If your name is not on the list, but you believe that you are owed a refund, call this same toll free number to ask about your status. You can also contact HUD by postal mail using the following address:
                  %ul.vcard
                    %li.fn U.S. Department of Housing and Urban Development
                    %li.street-address P.O. Box 44372
                    %li.locality
                      %span.city Washington,
                      %span.state DC
                      %span.zip 20026-4372
                  %h5 Note
                  All inquiries should include your name, your FHA case number
                  %span.label #{result[:case_number]}
                  , the date that the mortgage was paid-in-full, the property address, and your daytime phone number.
                  %h5 More Info
                  For more information about refunds, read the #{link_to 'Fact Sheet', 'http://www.hud.gov/offices/hsg/comp/refunds/fhafact.cfm', target: '_blank', class: 'underline'}
                  = link_to image_tag('exit_disclaimer.gif', alt: 'Opens in new window'), 'http://www.hud.gov/offices/hsg/comp/refunds/fhafact.cfm'
    %div.bottom-buttons
      = button_to 'Search Again', root_path, :class => 'button positive radius right'    
      = button_to 'More Results', 'http://www.hud.gov/offices/hsg/comp/refunds/refundlist.cfm', :class => 'button positive radius' if @hud_search[:total] == 25
{'fraction_non_alphanumeric': 0.14148716435526704, 'fraction_numerical': 0.010327530244910003, 'mean_word_length': 1.9551002615518744, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7541506', 'n_tokens_mistral': 2070, 'n_tokens_neox': 1946, 'n_words': 541}