Figured out that I can use a single endpoint for a tons of additionalPOST requests, which has opened up a lot of doors. Started to create a robust add option. Also added a template button as an idea, but need to see what's possible
This commit is contained in:
@ -1,13 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<div class="csv-upload">
|
||||
<h3> If you'd like to upload a CSV. Please do so here:<h3>
|
||||
<p></p>
|
||||
<form method="post" action="" enctype="multipart/form-data">
|
||||
<form method="POST"
|
||||
action="{{ url_for('csv') }}"
|
||||
enctype="multipart/form-data">
|
||||
<p><input type="file" name="file"></p>
|
||||
<p><input type="submit" value="Submit CSV"></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% if table %}
|
||||
{% include 'table.html' %}
|
||||
{% else %}
|
||||
<p></p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user