<commit_before>- url = url_for(:action => 'create_ds_field_changed', :id => @sb[:sfs_id])
#form_div
  = render :partial => "layouts/flash_msg"

  %h3= _('Options')
  %table.style1
    %tr
      %td.key= _('Name')
      %td
        = text_field_tag("ds_name",
          @edit[:new][:ds_name],
          :maxlength         => MAX_NAME_LEN,
          "data-miq_focus"   => true,
          "data-miq_observe" => {:interval => '.5', :url => url}.to_json)
    %tr
      %td.key= title_for_host
      %td
        = select_tag("host_id",
          options_for_select([["<#{_('Choose')}>",nil]] + @edit[:hosts].invert.sort,
          @edit[:new][:host_id]),
          "data-miq_sparkle_on"  => true,
          "data-miq_sparkle_off" => true,
          "data-miq_observe"     => {:url => url}.to_json)

  #buttons_div
    %table{:width => '100%'}
      %tr
        %td{:align => 'right'}
          %div
            = button_tag(_('Submit'),
              :class   => "btn btn-primary",
              :alt     => (t = _("Submit this Create Datastore request")),
              :title   => t,
              :onclick => "miqAjaxButton('#{url_for(:action => 'create_ds', :id => @sb[:sfs_id], :button => "submit")}');")
            = button_tag((t = _('Cancel')),
              :class   => "btn btn-default",
              :alt     => t,
              :title   => t,
              :onclick => "miqAjaxButton('#{url_for(:action => "create_ds", :id => @sb[:sfs_id], :button => "cancel")}');")<commit_msg>Style1 tables in Storage -> File Shares converted to patternfly (transferred from ManageIQ/manageiq@938e69e36fab319249fea06417af96f9f41bb71a)<commit_after>- url = url_for(:action => 'create_ds_field_changed', :id => @sb[:sfs_id])
#form_div
  = render :partial => "layouts/flash_msg"

  %h3
    = _('Options')
  .form-horizontal
    .form-group
      %label.control-label.col-md-2
        = _('Name')
      .col-md-8
        = text_field_tag("ds_name",
          @edit[:new][:ds_name],
          :maxlength         => MAX_NAME_LEN,
          "data-miq_focus"   => true,
          :class             => "form-control",
          "data-miq_observe" => {:interval => '.5', :url => url}.to_json)
    .form-group
      %label.control-label.col-md-2
        = title_for_host
      .col-md-8
        = select_tag("host_id",
          options_for_select([["<#{_('Choose')}>",nil]] + @edit[:hosts].invert.sort,
          @edit[:new][:host_id]),
          "data-miq_sparkle_on"  => true,
          "data-miq_sparkle_off" => true,
          :class                 => "selectpicker")
        :javascript
          miqInitSelectPicker();
          miqSelectPickerEvent("host_id", "#{url}");

  #buttons_div
    %table{:width => '100%'}
      %tr
        %td{:align => 'right'}
          %div
            = button_tag(_('Submit'),
              :class   => "btn btn-primary",
              :alt     => (t = _("Submit this Create Datastore request")),
              :title   => t,
              :onclick => "miqAjaxButton('#{url_for(:action => 'create_ds', :id => @sb[:sfs_id], :button => "submit")}');")
            = button_tag((t = _('Cancel')),
              :class   => "btn btn-default",
              :alt     => t,
              :title   => t,
              :onclick => "miqAjaxButton('#{url_for(:action => "create_ds", :id => @sb[:sfs_id], :button => "cancel")}');")
{'fraction_non_alphanumeric': 0.18953662182361733, 'fraction_numerical': 0.012257100149476832, 'mean_word_length': 2.078196872125115, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 62, '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': '2364502', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1144, 'n_words': 187}