<commit_before>-content_for :widget_title do
  Import Regulation

-content_for :widget_help, 'import'

=form_tag '', :class => 'import', :multipart => true, :remote => true, :'data-type' => 'html', :'data-update-target' => '#results-container' do

  %label(for="file") File to Upload
  .row-fluid
    .span6
      =file_field_tag "upload", :class => 'span12 btn'
    .span3
      =submit_tag "Upload and Review", :class => 'span12 btn btn-success btn-primary pull-right'
    .span3
      -if CMS_CONFIG["SYSTEM_IMPORT_HELP_LINK"].present?
        %a{ :href => CMS_CONFIG["SYSTEM_IMPORT_HELP_LINK"], :target => '_blank' }
          View Help
<commit_msg>import system widget fix<commit_after>-content_for :widget_title do
  Import Regulation

-content_for :widget_help, 'import'

.import

  =form_tag '', :class => 'import', :multipart => true, :remote => true, :'data-type' => 'html', :'data-update-target' => '#results-container' do

    %label(for="file")
      %strong
        File to Upload
    =file_field_tag "upload"
    =submit_tag "Upload and Review", :class => 'btn btn-primary'
    -if CMS_CONFIG["SYSTEM_IMPORT_HELP_LINK"].present?
      %a{ :href => CMS_CONFIG["SYSTEM_IMPORT_HELP_LINK"], :target => '_blank', :class => "import-help" }
        View Help

{'fraction_non_alphanumeric': 0.15943172849250198, 'fraction_numerical': 0.0055248618784530384, 'mean_word_length': 3.876923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '4600872', 'n_tokens_mistral': 431, 'n_tokens_neox': 420, 'n_words': 101}