<commit_before>- field_changed_url ||= "form_field_changed"
- ae_sim_form       ||= false
- ae_custom_button  ||= false
- rec_id = @edit && @edit[:action_id].present? ? @edit[:action_id] : "new"
- url    = url_for(:action => field_changed_url, :id => rec_id)
%hr
%h3= _("Object Details")
%table.style1
  - if form_action == "ae_resolve"
    %tr
      %td.key= _("System/Process/")
      %td
        = select_tag('instance_name',
                     options_for_select(resolve[:instance_names].sort_by(&:downcase),
                     resolve[:new][:instance_name]),
                     "data-miq_sparkle_on"  => true,
                     "data-miq_sparkle_off" => true,
                     "data-miq_observe"     => {:url => url}.to_json)
    %tr
      %td.key= _("Message")<commit_msg>Corrected fields in Control Action editor<commit_after>- field_changed_url ||= "form_field_changed"
- ae_sim_form       ||= false
- ae_custom_button  ||= false
- rec_id = @edit && @edit[:action_id].present? ? @edit[:action_id] : "new"
- url    = url_for(:action => field_changed_url, :id => rec_id)
- if form_action == "ae_resolve"
  %hr
  %h3= _("Object Details")
  %table.style1
    %tr
      %td.key= _("System/Process")
      %td
        = select_tag('instance_name',
                     options_for_select(resolve[:instance_names].sort_by(&:downcase),
                     resolve[:new][:instance_name]),
                     "data-miq_sparkle_on"  => true,
                     "data-miq_sparkle_off" => true,
                     "data-miq_observe"     => {:url => url}.to_json)
    %tr
      %td.key= _("Message")
{'fraction_non_alphanumeric': 0.1568505889646621, 'fraction_numerical': 0.0024798512089274642, 'mean_word_length': 2.3695198329853864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '5655587', 'n_tokens_mistral': 563, 'n_tokens_neox': 543, 'n_words': 88}