SpeciesFileGroup/taxonworks

View on GitHub
app/views/otus/batch_file_load/simple/_form.html.erb

Summary

Maintainability
Test Coverage
<%= form_tag url, multipart: true do -%>

    <div class="field">
      <%= label_tag 'files[]', 'Select files. Hold down command or control to select multiple files.' -%>
      <br>
      <%= file_field_tag 'files[]', multiple: true -%>
    </div>

    <% if @result -%>
      <p> TODO: ADD OTHER METADATA INPUT OPTIONS HERE </p>
    <% end %>

    <%= content_for :warn_level %>

    <%= submit_tag submit -%>
<% end %>