<commit_before>
.row-fluid
  .span9
    .brochure(style='margin-top: 50px;')
      h1 to get started...

      p Pop Up Archive accepts CSV spreadsheets where each row represents one item, and columns are used for descriptive fields.

      p
        | If you have a pre-existing spreadsheet, try to match your fields with the Pop Up template spreadsheet. Otherwise, you can 
        a href='https://docs.google.com/spreadsheet/pub?key=0AtWrmSCFjFb2dHJoY2V2eGxiRHktM0sxQ1dlQXNwNVE&output=csv' target="_blank" create a spreadsheet using this template.
      p
        | Tips:
        ul
          li We've seeded it with some examples &mdash; go ahead and replace them.
          li If you want multiple values (like two interviewers), use two columns.
          li
            a bs-modal="'#{asset_path 'imports/field_descriptions.html'}'" Click here for definitions for the Pop Up descriptive fields.
          li After you map your spreadsheet to Pop Up, you can add audio files to your newly-created items.

      p
        | Got your spreadsheet ready? Just drag & drop OR 
        form.import ng-controller='FSImportCtrl'
          fieldset 
            span file-button="" style='margin-right: 4px;'
              button.btn Select a CSV
            button.btn.btn-success ng-show='files.length' ng-click='submit()' Import {{files[0].name}}

      p Pop Up will analyze your spreadsheet and map your fields. Don't worry, you can edit the mapping in case we don't get it right at first.
<commit_msg>fix handling multiple csv files<commit_after>
.row-fluid
  .span9
    .brochure(style='margin-top: 50px;')
      h1 to get started...

      p Pop Up Archive accepts CSV spreadsheets where each row represents one item, and columns are used for descriptive fields.

      p
        | If you have a pre-existing spreadsheet, try to match your fields with the Pop Up template spreadsheet. Otherwise, you can 
        a href='https://docs.google.com/spreadsheet/pub?key=<KEY>NVE&output=csv' target="_blank" create a spreadsheet using this template.
      p
        | Tips:
        ul
          li We've seeded it with some examples &mdash; go ahead and replace them.
          li If you want multiple values (like two interviewers), use two columns.
          li
            a bs-modal="'#{asset_path 'imports/field_descriptions.html'}'" Click here for definitions for the Pop Up descriptive fields.
          li After you map your spreadsheet to Pop Up, you can add audio files to your newly-created items.

      p
        | Got your spreadsheet ready? Just drag & drop OR 
        form.import ng-controller='FSImportCtrl'
          fieldset 
            span file-button="" style='margin-right: 4px;'
              button.btn Select CSV

            ul ng-show='files.length > 0'
              li ng-repeat="file in files" {{file.name}}

            button.btn.btn-success ng-show='files.length > 0' ng-click='submit()' Import

      p Pop Up will analyze your spreadsheet and map your fields. Don't worry, you can edit the mapping in case we don't get it right at first.

{'fraction_non_alphanumeric': 0.0783739837398374, 'fraction_numerical': 0.006178861788617886, 'mean_word_length': 2.5397008055235903, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 2, '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': '4025017', 'n_tokens_mistral': 880, 'n_tokens_neox': 810, 'n_words': 353}