{% extends 'layout.html' %} {% block content %} {{form.hidden_tag()}} Upload new dataset {{ form.file.label(class="form-control-label", for="formFile") }} {{ form.file(class="form-control", id="formFile", type="file") }} {% if form.file.errors %} {% for error in form.file.errors %} {{ error }} {% endfor %} {% endif %} {{form.submit(class="btn btn-info")}} {% endblock %}