<commit_before>= render :partial => "layouts/flash_msg"
#pre_prov_div
  - typ = request.parameters[:controller] == "vm_cloud" ? ui_lookup(:table => "template_cloud") : ui_lookup(:table => "template_infra")
  %h3
    = _("Provision %{what} based on the selected %{type}") % {:what => ui_lookup(:tables => request.parameters[:controller]), :type => typ}
  %label
    - id = @edit[:req_id] || "new"
    %input{:type => "checkbox",
           :onclick => "miqAjax('" + url_for_only_path({:action => "vm_pre_prov", :id => id.to_s, :hide_deprecated_templates => !@edit[:hide_deprecated_templates]}) + "')",
           :checked => @edit[:hide_deprecated_templates]}
      = _('Hide deprecated')
  %table.table.table-bordered.table-hover.table-striped.table-selectable
    %thead
      %tr
        - id = @edit[:req_id] || "new"
        - ["name", "image?", "operating_system.product_name", "platform",
            "cpu_total_cores", "mem_cpu", "allocated_disk_storage", "deprecated",
            "ext_management_system.name", "v_total_snapshots", "cloud_tenant"].each do |column_name|
          - if @edit[:vm_headers].include?(column_name)
            %th
              -# Replaced to exclude non-view table fields from sorting
              = link_to(h(@edit[:vm_headers][column_name]),<commit_msg>Hide 'Hide Deprecated' checkbox when provisioning infra VM<commit_after>= render :partial => "layouts/flash_msg"
#pre_prov_div
  - typ = request.parameters[:controller] == "vm_cloud" ? ui_lookup(:table => "template_cloud") : ui_lookup(:table => "template_infra")
  %h3
    = _("Provision %{what} based on the selected %{type}") % {:what => ui_lookup(:tables => request.parameters[:controller]), :type => typ}
  %label
    - id = @edit[:req_id] || "new"
    - unless @edit[:hide_deprecated_templates].nil?
      %input{:type => "checkbox",
             :onclick => "miqAjax('" + url_for_only_path({:action => "vm_pre_prov", :id => id.to_s, :hide_deprecated_templates => !@edit[:hide_deprecated_templates]}) + "')",
             :checked => @edit[:hide_deprecated_templates]}
        = _('Hide deprecated')
  %table.table.table-bordered.table-hover.table-striped.table-selectable
    %thead
      %tr
        - id = @edit[:req_id] || "new"
        - ["name", "image?", "operating_system.product_name", "platform",
            "cpu_total_cores", "mem_cpu", "allocated_disk_storage", "deprecated",
            "ext_management_system.name", "v_total_snapshots", "cloud_tenant"].each do |column_name|
          - if @edit[:vm_headers].include?(column_name)
            %th
              -# Replaced to exclude non-view table fields from sorting
              = link_to(h(@edit[:vm_headers][column_name]),
{'fraction_non_alphanumeric': 0.16982534373838723, 'fraction_numerical': 0.0007432181345224824, 'mean_word_length': 3.6333907056798624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, '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': '920136', 'n_tokens_mistral': 867, 'n_tokens_neox': 859, 'n_words': 156}