<commit_before>- unless @edit[:new][:emstype].blank?
  %tr
    %td.key= _('Hostname or IP address')
    %td.wide
      = text_field_tag("hostname",
        @edit[:new][:hostname],
        :maxlength => MAX_HOSTNAME_LEN,
        "data-miq_observe" => {:interval => '.5', :url => url}.to_json,
        :title => 'Hostname or IPv4/IPv6 address')
  - if @edit[:new][:emstype] == "scvmm"
    %tr
      %td.key= _('Security Protocol')
      %td.wide
        = select_tag("security_protocol",
                     options_for_select(@edit[:protocols],
                     @edit[:new][:security_protocol]),
                     "data-miq_observe" => {:url => url}.to_json)
    - if @edit[:new][:security_protocol] == "kerberos"
      %tr
        %td.key= _('Realm')
        %td.wide
          = text_field_tag("realm",
                           @edit[:new][:realm],
                           :maxlength => MAX_NAME_LEN,
                           "data-miq_observe" => {:interval => ".5", :url => url}.to_json)<commit_msg>Converted missing style1 tables to patternfly (transferred from ManageIQ/manageiq@a7<PASSWORD>aa3<PASSWORD>ced332077a7)<commit_after>- unless @edit[:new][:emstype].blank?
  .form-group
    %label.control-label.col-md-2
      = _('Hostname or IP address')
    .col-md-8
      = text_field_tag("hostname",
        @edit[:new][:hostname],
        :maxlength => MAX_HOSTNAME_LEN,
        "data-miq_observe" => {:interval => '.5', :url => url}.to_json,
        :class => "form-control",
        :title => _("Hostname or IPv4/IPv6 address"))
  - if @edit[:new][:emstype] == "scvmm"
    .form-group
      %label.control-label.col-md-2
        = _('Security Protocol')
      .col-md-8
        = select_tag("security_protocol",
                     options_for_select(@edit[:protocols],
                     @edit[:new][:security_protocol]),
                     :class => "selectpicker")
        :javascript
          miqInitSelectPicker();
          miqSelectPickerEvent("security_protocol", "#{url}");
    - if @edit[:new][:security_protocol] == "kerberos"
      .form-group
        %label.control-label.col-md-2
          = _('Realm')
        .col-md-8
          = text_field_tag("realm",
                           @edit[:new][:realm],
                           :maxlength => MAX_NAME_LEN,
                           :class             => "form-control",
                           "data-miq_observe" => {:interval => ".5",
                                                  :url => url}.to_json)
{'fraction_non_alphanumeric': 0.16221602231964927, 'fraction_numerical': 0.009565563969709047, 'mean_word_length': 1.8458049886621315, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 28, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7380003', 'n_tokens_mistral': 802, 'n_tokens_neox': 783, 'n_words': 122}