{% extends "@ChamiloTheme/Layout/layout_one_col.html.twig" %}

{% block content %}
  <script>
      $(function() {
          $('#fileupload').fileupload({
              formData: {
                  identifier: '{{ identifier }}',
                  type: '{{ type }}'
              }
          });
      });
  </script>

  <input id="fileupload"
         type="file"
         name="files[]"
         data-url="{{ oneup_uploader_endpoint('resource') }}"
         multiple
  />
{% endblock %}
